A robust Django-based project management system that allows efficient management of projects, tasks, and team collaboration.
For automated deployment of this project on an Amazon EC2 instance, you can follow the deployment script and instructions available at: Django Server Deployment Scripts
git clone https://github.com/centaurusgod/django_rest_project_management_api.git
cd django_rest_project_management_api
cd project_management_system# On Linux(debian based)
sudo apt install virtualenv
virtualenv venv
source venv/bin/activate
# OR
python -m venv venv
source venv/bin/activate # On Linux/Mac
# OR
venv\Scripts\activate # On Windowspip install -r requirements.txtpython manage.py makemigrations
python manage.py migratepython techforing_pms/populate_db.pypython manage.py createsuperuserUse the following credentials:
- Username: your_username
- Email: your_email@example.com
- Password: Password123!
python manage.py runserverAccess the Swagger API documentation at:
http://localhost:8000/api/docs/
Note: You need to login and get your access token to access the protected endpoints.
- GET /api/users/login/
- POST /api/users/register/
-
Access the login endpoint:
http://localhost:8000/api/users/login/ -
Use these credentials:
{ "username": "user1", "password": "password123" }
After authentication, you can access all protected endpoints. For example:
Reading all projects from Swagger API documentation:
The system uses JWT (JSON Web Token) authentication. To access protected endpoints:
- Obtain a token by logging in
- Include the token in the Authorization header:
Bearer <your-token>