Easy to understand Simple Flask App from flask-restful
pip install -r requirements.txt
python api.py
docker build -t todoapp:latest .
docker run -d --name mytodoapp -p 8080:5000 todoapp:latest
curl http://localhost:5000/todos
curl http://localhost:5000/todos/todo1
curl http://localhost:5000/todos -d "task=something new" -X POST -v
curl http://localhost:5000/todos/todo3 -d "task=something different" -X PUT -v
curl http://localhost:5000/todos/todo2 -X DELETE -v