- Install python3 and pip3
- Install dependencies
pip install -r requirements.txt
- Run server:
cd ./server
python3 app.py
-
/users
- POST - create new user Sample Json
{"user_name": "test user"}
- GET - get all users
-
/users/string:user_name
- DELETE - delete user with user_name
-
/tasks
- POST - create new task Sample json
{ "task_name": "Task 9", "description": "This is Task 5", "assignee": "test user", "start_date": "2019-03-1333", "end_date": "2019-03-11 " }
- GET - get all tasks
-
/tasks/int:task_id
- DELETE - delete task with task_id
- PUT - update task, example Json:
{ "task_name": "Task 9999999", "description": "This is Task 59999999", "assignee": "3000" }
- GET - get task by task_id
-
/db
- DELETE - will delete all tables and recreate from scratch