Its a simple application under Flask that demonstrate how REST API works.
More details you can find here: https://realpython.com/flask-connexion-rest-api/
Main source code was taken from: https://github.com/realpython/materials/tree/master/flask-connexion-rest/version_4
How to use this it:
- Clone repository to your local machine
git clone https://github.com/grendach/RESTapi
- Build docker container:
docker build my_rest_api .
3.Run container
docker run -d -p 5000:5000 my_rest_ap
- Open in your browser http://localhost:5000