The API is available at https://algobulls-todo.onrender.com/
You can see the documentation at https://algobulls-todo.onrender.com/
- Clone the repository
- Install the dependencies
pip install -r requirements.txt
- Run the server
python manage.py runserver
- The API is now available at http://localhost:8000/
- You can see the documentation at http://localhost:8000/
- You can also see the documentation at http://localhost:8000/
GET /api/tasks/
curl -X GET https://algobulls-todo.onrender.com/api/todos/ -u "username:password"
POST /api/tasks/
curl -X POST https://algobulls-todo.onrender.com/api/todos/ -u "username:password" -H "Content-Type: application/json" -d '{"title": "string", "description": "string", "status": "string", "due_date": "string", "tags": ["string"]}'
GET /api/tasks/{id}/
curl -X GET https://algobulls-todo.onrender.com/api/todos/{id}/ -u "username:password"
PUT /api/tasks/{id}/
curl -X PUT https://algobulls-todo.onrender.com/api/todos/{id}/ -u "username:password" -H "Content-Type: application/json" -d '{"title": "string", "description": "string", "status": "string", "due_date": "string", "tags": ["string"]}'
DELETE /api/tasks/{id}/
curl -X DELETE https://algobulls-todo.onrender.com/api/todos/{id}/ -u "username:password"
POST /api/auth/register/
curl -X POST https://algobulls-todo.onrender.com/api/auth/register/ -H "Content-Type: application/json" -d '{"username": "string", "password": "string"}'