-
Todo Api is implemented with Flask Framework and Flask Rest-x for quickly building Resful Apis.
-
Authentication and Authorization of the API is done with Flask-JWT-Extended
- Flask
- Flask Rest-x
- Flask Mongoengine
- Flask-Jwt-Extended
-
Clone the project into your local machine
$ git clone https://github.com/Pratik-sys/TodoAPI
-
To run this project, install requiremnts.txt
$ pip install -r requirements.txt
-
Run the main file to get the server runing on your local machine
$ python run.py
-
you can test the Api in Postman for better visualization
if you are running the server on localhost the prefix to all the endpoints will be
http://127.0.0.1:5000/
api/users/register
api/users/login
api/todos/getAll
api/todos/add
api/todos/<todo_id>update
api/todos/<todo_id>/delete
api/subtasks/<todo_id>getAll
api/subtasks/<todo_id>/add
api/subtasks/<subtask_id>/update
api/subtasks/<subtask_id>/delete
Note
:- The swagger is been disabled intentionally, you can test the API onPostman