https://github.com/profcomff/rating-api
https://github.com/profcomff/rating-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/profcomff/rating-api
- Owner: profcomff
- License: bsd-3-clause
- Created: 2023-05-01T19:13:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T21:47:42.000Z (over 1 year ago)
- Last Synced: 2024-10-25T02:46:54.820Z (over 1 year ago)
- Language: Python
- Size: 62.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Рейтинг преподавателей
Хранение и работа с рейтингом преподавателей и отзывами на них.
[
](https://easycode.profcomff.com/templates/docker-fastapi/workspace?mode=manual¶m.Repository+URL=https://github.com/profcomff/rating-api.git¶m.Working+directory=rating-api)
## Запуск
1. Перейдите в папку проекта
2. Создайте виртуальное окружение командой и активируйте его:
```console
foo@bar:~$ python3 -m venv venv
foo@bar:~$ source ./venv/bin/activate # На MacOS и Linux
foo@bar:~$ venv\Scripts\activate # На Windows
```
3. Установите библиотеки
```console
foo@bar:~$ pip install -r requirements.txt
```
4. Запускайте приложение!
```console
foo@bar:~$ python -m rating_api
```
## ENV-file description
- `DB_DSN=postgresql://postgres@localhost:5432/postgres` – Данные для подключения к БД