Using Random word library in Flask to get Word and Definitions
Using the remaudcorentin-dev/python-randomword library in Python Flask to get the word and definition on a GET request.
Build and run:
$ docker-compose build
$ docker-compose up
Test:
$ curl http://localhost:5000
{"word":"auxiliary","definition":"helping supporting"}
Using render template: