https://github.com/profcomff/rental-api
https://github.com/profcomff/rental-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/profcomff/rental-api
- Owner: profcomff
- License: bsd-3-clause
- Created: 2025-03-02T09:51:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-10T22:57:19.000Z (11 months ago)
- Last Synced: 2025-03-10T23:31:55.748Z (11 months ago)
- Language: Python
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
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/rental-api.git¶m.Working+directory=rental-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 rental-backend
```
## ENV-file description
- `DB_DSN=postgresql://postgres@localhost:5432/postgres` – Данные для подключения к БД