- Python
- Flask
- MongoDB
- Clone the repository
- Set MongoDB URI in
app.py
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python app.py
- Endpoints:
- Create a task:
POST /v1/tasks
- List tasks:
GET /v1/tasks
- Get a task:
GET /v1/tasks/{id}
- Delete a task:
DELETE /v1/tasks/{id}
- Edit a task:
PUT /v1/tasks/{id}
- Bulk add tasks:
POST /v1/tasks/bulk
- Bulk delete tasks:
DELETE /v1/tasks/bulk
- Create a task:
Run tests with pytest tests.py
This is made by s-chandr with ❤️ in python.
This project is licensed under the MIT License.