TaskTracker is a simple yet powerful task management API built with Django, designed to help you efficiently manage your tasks. 🚀
- 📝 Create tasks
- 📜 List all tasks
- 🔍 Get a specific task
- ✏️ Update tasks
- ❌ Delete tasks
- 🗂️ Bulk add tasks
- 🧹 Bulk delete tasks
- 🐍 Python 3.7+
- 📦 pipenv
- Python
- Django (DRF)
- SQLite Database
-
Clone the repository:
git clone https://github.com/skp3214/12114973_backend.git cd TaskTracker
-
Install dependencies using pipenv:
pipenv install
-
Activate the virtual environment:
pipenv shell
-
Apply migrations:
python manage.py migrate
To run the application locally, use:
python manage.py runserver
🌐 The API will be accessible at http://127.0.0.1:8000
.
- ➕ Create a task:
POST /v1/tasks/create/
- 📋 List all tasks:
GET /v1/tasks
- 🔍 Get a specific task:
GET /v1/tasks/{task_id}
- ✏️ Update a task:
PUT /v1/tasks/{task_id}/update/
- ❌ Delete a task:
DELETE /v1/tasks/{task_id}/delete/
- 🗂️ Bulk add tasks:
POST /v1/tasks/bulk-add/
- 🧹 Bulk delete tasks:
DELETE /v1/tasks/bulk-delete/
To run tests, navigate to the TaskTrackerAPI
directory and run:
pytest tests.py
✨ Happy Task Tracking!