Skip to content

University Api System Based On Django Python DRF Framework

Notifications You must be signed in to change notification settings

alexop89056/university-api-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

University Api System Based On Django Python DRF Framework

Overview

This project serves as a template for the Api of the system customized for the university. This Api system allows you to perform CRUD operations on the data of students, teachers, semesters, and so on. Convenient, Competent and Short, without unnecessary things.

Installation

To install the project, follow these steps:

  1. Clone the repository:

    https://github.com/alexop89056/university-api-system.git
  2. Navigate to the project directory:

    cd university-api-system
  3. Install dependencies:

    pip install -r requirements.txt
    

Project Structure

  • /api: This directory contains the main api endpoints.
  • /db_seeder: This directory contains the script that fills the database with data.
  • /djangoTestApp: This directory contains the main parent app.
  • /djangoTestApp/settings_local.py: Not included in the repository, it is used to specify local project settings

Usage

  • With default django server:

    python manage.py runserver
  • With gunicorn http server (Supports only Linux-like systems):

    gunicorn djangoTestApp.wsgi:application
    

Start filling in the database:

  • Run django application in shell mode:
    python manage.py shell
  • Import we need the necessary function:
    from db_seeder.seeds import function (example: students)
  • Start filling in:
    function() (example: students)
    

Notes

  • File settings_local.py : Is used to overwrite settings from settings.py , y settings_local.py file has more priority.
  • The Swagger UI URL is located at /schema/swagger-ui.
  • Access to the admin panel via the path /admin, Username: admin, password: 123.
  • Jwt tokens are also connected to this project.

Screenshots

image

image

License

This project is licensed under the MIT License - see the main page for the details.

About

University Api System Based On Django Python DRF Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages