An API for creating, updating, retrieving and deleting todo tasks.
- create a virtualenv and activate it
 - install required modules
 - set environment variables
 - create and migrate database
 - run application
 
Assuming windows:
virtualenv venv
cd venv/scripts
activate
pip install -r requirements.txt
Assuming windows:
set FLASK_ENV=development
set FLASK_APP=todo:factory
flask db init
flask db migrate
flask db upgrade
flask run
The development server is run at localhost:5000
- 
POST Example Request
curl --location --request POST 'http://localhost:5000/api/v1/?task=Cook%20Rice&description=Cook%20Rice%20for%20lunch%20by%202pm' - 
PUT Example Request curl --location --request PUT 'http://localhost:5000/api/v1/1?task=Cook%20Rice&description=Cook%20Rice%20for%20lunch%20by%201pm'
 - 
GET Example Request curl --location --request GET 'localhost:5000/api/v1/1'
 - 
GET Example Request curl --location --request GET 'localhost:5000/api/v1/'
 - 
DELETE curl --location --request DELETE 'localhost:5000/api/v1/'