A RESTful API built with Django and Django REST Framework for managing tasks.
- User Authentication: JWT-based login and registration.
- CRUD Operations: Create, Read, Update, and Delete tasks.
- Role-Based Access: Admins can see all tasks; regular users see only their own.
- Filtering: Filter tasks by
completedstatus. - Pagination: Dynamic page sizes supported via
?page_size=X. - API Documentation: Interactive Swagger UI available.
- Clone the repo:
git clone https://github.com/deepak7mehra/TaskManager.git - Create Virtual Env:
python -m venv venv - Activate Env:
source venv/bin/activate - Install Deps:
pip install -r requirements.txt - Migrate DB:
python manage.py migrate - Run Server:
python manage.py runserver
Once the server is running, visit:
- Swagger UI:
http://127.0.0.1:8000/api/docs/
Run the automated test suite:
python manage.py test