An open API service indexing awesome lists of open source software.

https://github.com/profcomff/rental-api


https://github.com/profcomff/rental-api

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Сервис цифрового проката
[](https://easycode.profcomff.com/templates/docker-fastapi/workspace?mode=manual&param.Repository+URL=https://github.com/profcomff/rental-api.git&param.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` – Данные для подключения к БД