A simple backend API built with Django and Django REST Framework (DRF) to manage tasks for team members. Includes authentication using JWT and supports task creation, listing, and filtering per user.
- User registration and login with JWT authentication
- Password validation and email uniqueness checks
- Task CRUD operations (Create, Read, Update, Delete)
- Each task is assigned to the user who created it
- Only authenticated users can access their own tasks
- Python
- Django
- Django REST Framework (DRF)
- Simple JWT
- SQLite (default, can be changed to MySQL/PostgreSQL)
- Clone the repo
git clone https://github.com/your-username/team-task-manager.git](https://github.com/MohammedAldarwish/Task-Manager-django-DRF.git
cd team-task-manager
- Activation Virtual env
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install project dependencies
pip install -r requirements.txt
- Apply database migrations
python manage.py migrate
- Run the development server
python manage.py runserver
Method | Endpoint | Description |
---|---|---|
POST | /accounts/login/ | Login and get JWT tokens |
POST | /accounts/register/ | Register new user |
GET | /tasks/ | List user tasks (auth) |
POST | /tasks/ | Create a new task (auth) |
PUT | /tasks/{id}/ | Update task (auth) |
DELETE | /tasks/{id}/ | Delete task (auth) |