Skip to content

abstract-333/university-api

Repository files navigation

Project for university

Rest API project for university, that emluate university system):

Running on:

  • Windows 11

  • Python 3.11.4 or higher

  • PostgreSQL

How to run

Install from git:

Using GitFlic:

$ git clone https://gitflic.ru/project/abstract-333/university-api.git

$ cd university-api

Using GitHub:

$ git clone https://github.com/abstract-333/university-api.git

$ cd university-api

Create and activate virutal environment:

$ python -m venv .venv

$ .\.venv\Scripts\activate

Install dependencies:

$ pip install -r requirements.txt

Make migration for database:

First Create database under "name".
Add this name and other properties to .env.prod file.


$ alembic upgrade heads

Run App:

  • Using Make:

$ make run
  • Without Make:

$ uvicorn --factory src.app:app --reload

s

About

Backend Restful Project for diploma project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages