A simple web-based To-Do List application built using Django and Django Rest Framework.
- Create, Read, Update, and Delete To-Do Items: Perform basic CRUD operations for managing tasks.
- CREATE a To-Do item: /api/todos/ (POST)
- READ one To-Do item: /api/todos/{id}/ (GET)
- READ all To-Do items: /api/todos/ (GET)
- UPDATE a To-Do item: /api/todos/{id}/ (PUT/PATCH)
- DELETE a To-Do item: /api/todos/{id}/ (DELETE)
- Support for Basic Authentication: All APIs are protected with Basic Authentication
- python3 -m venv venv
- source venv/bin/activate # On Linux/Mac
- .\venv\Scripts\activate # On Windows
- git clone https://github.com/kksain/ToDoList.git
- cd todo_list
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Access the app at http://127.0.0.1:8000/
- Endpoint: /api/todos/
- Method: POST
- Endpoint: /api/todos/{id}/
- Method: GET
- Endpoint: /api/todos/
- Method: GET
- Endpoint: /api/todos/{id}/
- Method: PUT/PATCH
- Endpoint: /api/todos/{id}/
- Method: DELETE
- Run unit and integration tests:
- python manage.py test
- Explore and test API endpoints using the provided Postman Collection:
- ToDoListApp.postman_collection.json
- Basic Authentication is required for API access.
- Create, read, update, and delete To-Do items
- Assign a title, description, due date, tags, and status to each task
- Django Admin interface for easy management
- RESTful API endpoints for seamless integration
- Basic Authentication for API access
- Unit and integration tests with 100% coverage