Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/semyon-dev/opportunity-cup-2021
Кейс чемпионат opportunity-cup-2021
https://github.com/semyon-dev/opportunity-cup-2021
Last synced: about 16 hours ago
JSON representation
Кейс чемпионат opportunity-cup-2021
- Host: GitHub
- URL: https://github.com/semyon-dev/opportunity-cup-2021
- Owner: semyon-dev
- Created: 2021-10-12T17:07:01.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-26T17:24:40.000Z (over 2 years ago)
- Last Synced: 2023-03-07T22:19:11.903Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.86 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Решение для opportunity-cup-2021
# Backend
Решение для IT кейса
## запросы
* Посчитать потери переноса: `GET /offset` (пример: /offset?id=4&offset=4)
* Получить все задачи: `GET /data`
## Стэк
* Python 3.10
* MongoDB
* Flask## Run
`python main.py`
## .env example
```dotenv
# mongodb url
CONNECTION_STRING="mongodb+srv://username:[email protected]/Cluster0?retryWrites=true&w=majority&tls=true"
PORT=8080
```# Frontend
https://github.com/kniazevgeny/opportunity-cup-2021