This project aims to create an API using Django and Django Rest Framework. It includes Student, Course, and Grade models, supporting CRUD operations and an authentication mechanism.
Follow these steps to set up the project:
1- Install Virtual Environment First
$ pip install virtualenv
2- Create Virtual Environment
$ python3 -m venv venv
3- Activate Virtual Environment
$ source venv/bin/activate
Clone the project
git clone https://github.com/eaarda/student-management-system.git
Go to the project directory
cd student-management-system
Install dependencies
pip install -r requirements.txt
Database Migrations
python manage.py makemigrations
python manage.py migrate
python manage.py load_defaults
Start the server
python manage.py runserver
Clone the project
git clone https://github.com/eaarda/student-management-system.git
Go to the project directory
cd student-management-system
Start the server
docker-compose up --build
An admin user is created by default after loading defaults command:
- Email: admin@admin.com
- Password: admin1234
GET /api/swagger
GET /api/redoc