Go to file
itqop 4d51beb350 first commit 2025-10-11 01:14:16 +03:00
src/hubgw first commit 2025-10-11 01:14:16 +03:00
tests first commit 2025-10-11 01:14:16 +03:00
.gitignore first commit 2025-10-11 01:14:16 +03:00
API_EXAMPLES.md first commit 2025-10-11 01:14:16 +03:00
DEPLOYMENT.md first commit 2025-10-11 01:14:16 +03:00
README.md first commit 2025-10-11 01:14:16 +03:00
pyproject.toml first commit 2025-10-11 01:14:16 +03:00

README.md

HubGW

FastAPI Gateway for HubMC

Установка

poetry install

Запуск

poetry run hubgw

Конфигурация

Создайте файл .env с необходимыми переменными окружения:

APP_ENV=dev
APP_HOST=0.0.0.0
APP_PORT=8080
APP_LOG_LEVEL=INFO
DB_DSN=postgresql+asyncpg://user:pass@host:5432/hubgw
DB_POOL_SIZE=10
DB_MAX_OVERFLOW=10
API_KEY=your-api-key
RATE_LIMIT_PER_MIN=100