ядро платформы
Go to file
Untone 88812da592
All checks were successful
Deploy on push / deploy (push) Successful in 5s
myrate-fix
2024-11-14 13:21:32 +03:00
.gitea/workflows deployfix 2024-11-01 14:33:34 +03:00
.github/workflows deployfix 2024-11-01 14:33:34 +03:00
alembic merged-hub 2024-11-01 15:06:21 +03:00
auth my_rate-stat 2024-11-12 17:56:20 +03:00
cache following-fixes+fmt 2024-11-02 12:09:24 +03:00
docs txt 2024-11-01 10:04:32 +03:00
orm merged-hub 2024-11-01 15:06:21 +03:00
resolvers myrate-fix 2024-11-14 13:21:32 +03:00
schema my_rate-stat 2024-11-12 17:56:20 +03:00
services my_rate-stat 2024-11-12 17:56:20 +03:00
utils sqlite-support 2024-10-14 02:05:20 +03:00
__init__.py buildsystemver-fix-2 2024-02-19 16:29:05 +03:00
.editorconfig migration, auth, refactoring, formatting 2022-09-17 21:12:14 +03:00
.gitignore ignoreup 2024-10-15 10:07:44 +03:00
.pre-commit-config.yaml ruff-update 2024-06-04 09:10:52 +03:00
app.json 1sec-delay 2024-02-21 23:12:47 +03:00
CHANGELOG.md my_rate-stat 2024-11-12 17:56:20 +03:00
Dockerfile 312 2024-10-13 00:49:06 +03:00
main.py following-fixes+fmt 2024-11-02 12:09:24 +03:00
nginx.conf.sigil test: encrease users from one ip to 10000 to see if something chnages on stress press tests 2024-07-03 01:40:00 -03:00
Procfile configured isort, black, flake8 2023-10-30 22:00:55 +01:00
pyproject.toml merged-hub 2024-11-01 15:06:21 +03:00
README.md merged-hub 2024-11-01 15:06:21 +03:00
server.py following-fixes+fmt 2024-11-02 12:09:24 +03:00
settings.py sqlite-support 2024-10-14 02:05:20 +03:00

discoursio-api

Техстек

  • sqlalchemy
  • redis
  • ariadne
  • starlette
  • granian

Локальная разработка

Запустите API-сервер с ключом dev:

mkdir .venv
python3.12 -m venv .venv
poetry env use .venv/bin/python3.12
poetry update
poetry run server.py dev

Полезные команды

poetry run ruff check . --fix --select I # линтер и сортировка импортов
poetry run ruff format . --line-length=120 # форматирование кода