Skip to content

Latest commit

 

History

History
107 lines (66 loc) · 1.71 KB

readme.md

File metadata and controls

107 lines (66 loc) · 1.71 KB

Student Management System

PyPI - Python Version

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.

Installation

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

Run Locally

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

Run Locally

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

Admin User

An admin user is created by default after loading defaults command:

Documentation

  GET /api/swagger
  GET /api/redoc

🔗 Links

portfolio twitter