A simple RESTful API built using Flask that allows users to manage tasks.
The API supports creating, retrieving, updating, completing, and deleting tasks.
https://flask-taskmanager-api-1.onrender.com
- Create tasks
- View all tasks
- Update tasks
- Mark tasks as completed
- Delete tasks
- Python
- Flask
- SQLite
- SQLAlchemy
- Gunicorn
GET /tasks
Returns all tasks stored in the database.
Example Response: [ { "id": 1, "title": "Finish project", "completed": false } ]
POST /tasks
Example Request Body: { "title": "Prepare internship application" }
Example Response: { "message": "Task added" }
PUT /tasks/
Example Request Body: { "title": "Complete API project", "completed": true }
Example Response: { "message": "Task updated" }
PATCH /tasks//complete
Example Response: { "message": "Task marked as completed" }
DELETE /tasks/
Example Response: { "message": "Task deleted" }
flask-taskmanager-api │ ├── app.py ├── requirements.txt ├── tasks.db └── README.md
The API is deployed on Render.
Astha Mishra