This is a RESTful API built with Django Rest Framework (DRF) that allows users to manage tasks — including creating, updating, deleting, and marking tasks as complete or incomplete.
- User registration and management
- Create, view, update, and delete tasks
- Mark tasks as complete/incomplete
- Authentication using Django’s built-in user model
- Django ORM for database operations
- Ready for deployment on Heroku or PythonAnywhere
Method | Endpoint | Description |
---|---|---|
POST | /api/users/ |
Create a new user |
GET | /api/users/ |
Get list of users |
POST | /api/tasks/ |
Create a new task |
GET | /api/tasks/ |
Get list of tasks |
GET | /api/tasks/<id>/ |
Get task details |
PUT/PATCH | /api/tasks/<id>/ |
Update task |
DELETE | /api/tasks/<id>/ |
Delete task |
PATCH | /api/tasks/<id>/complete/ |
Mark as complete/incomplete |