-
User Management: Register, log in, retrieve, update, and delete user accounts.
-
Project Management: Create, list, update, and delete projects with owner and member roles.
-
Task Management: CRUD operations on tasks within projects with priority and status tracking.
-
Comment Management: Commenting on tasks with retrieval, updates, and deletions.
- pip install virtualenv
- virtualenv env ---> ( For Linux )
- source ./env/bin/activate ---> ( For Linux )
- pip install django
- pip install djangorestframework
- pip install djangorestframework-simplejwt
- pip install drf-yasg
- git clone https://github.com/zihad868/ProjectManagementServer.git
- cd ProjectManagementServer
- python manage.py makemigrations
- python manage.py migrate
- python manage.py createsuperuser
- python manage.py runserver
- git clone https://github.com/zihad868/ProjectManagementServer.git
- pip install -r requirements.txt
- cd ProjectManagementServer
- python manage.py makemigrations
- python manage.py migrate
- python manage.py createsuperuser
- python manage.py runserver
-
POST
/api/users/register/
- Body:
{"username": "string", "email": "your email" "password": "string", "first_name": "string", "last_name": "string"}
- Body:
-
POST
/api/users/login/
- Get Refresh & Access Token
- Body:
{"email": "string", "password": "string"}
-
GET
/api/users/{user_id}
- Response:
Get User Details
- Response:
-
PATCH
/api/users/{user id}/update/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"email": "string"}
- Header:
-
PUT
/api/users/{user id}/update/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"username": "string", "email": "your email" "password": "string", "first_name": "string", "last_name": "string"}
- Header:
-
DELETE
/api/users/{user id}/delete/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
User deleted successfully.
- Header:
-
GET
/api/projects/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Project Details
- Header:
-
POST
/api/projects/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"name": "string", "description": "string"}
- Header:
-
GET
/api/projects/{priject id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Specific Project Details
- Header:
-
PATCH
/api/projects/{priject id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"description": "string"}
- Header:
-
PUT
/api/projects/{priject id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"name": "string", "description": "string"}
- Header:
-
DELETE
/api/projects/{priject id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Project deleted successfully.
- Header:
-
GET
/api/projects/{project_id}/tasks/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Project Details
- Header:
-
POST
/api/projects/{project id}/tasks/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"title": "string", "description": "string"}
- Header:
-
GET
/api/tasks/{task id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Specific task details
- Header:
-
PATCH
/api/tasks/{task id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"title": "string"}
- Header:
-
PUT
/api/tasks/{task id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"title": "string", "description": "string"}
- Header:
-
DELETE /api/tasks/{task id}/`
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Task deleted successfully.
- Header:
-
GET
/api/tasks/{task id}/comments/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Get comments specific task
- Header:
-
POST
/api/tasks/{task id}/comments/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"content": "string"}
- Header:
-
GET
/api/comments/{comment id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Specific comment details
- Header:
-
PATCH
/api/comments/{comment id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"content": "string"}
- Header:
-
PUT
/api/comments/{comment id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Body:
{"content": "string"}
- Header:
-
DELETE
/api/comments/{comment id}/
- Header:
{Authorization: Bearer {Your Login Token}}
- Response:
Task deleted successfully.
- Header: