chore: монорепо, dev-окружение и деплой

Nix flake на два шелла (backend и + Flutter), justfile как единая точка входа,
локальный Postgres в ./.pgdata на порту 54329, docker-compose из пяти сервисов
(db, api, worker, caddy, pg-backup) и CI на ruff/pyright/pytest + дрейф OpenAPI.

Российские корневые сертификаты лежат в репозитории: они публичные, но нужны и
Caddy, и gRPC-каналу T-Invest, а глобальный gitignore отбрасывает *.pem.
This commit is contained in:
Dmitry
2026-09-18 13:43:17 +03:00
commit 563308a08b
16 changed files with 670 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# secrets and local state
.env
.env.*
!.env.example
.direnv/
.pgdata/
backups/
# python
.venv/
__pycache__/
*.pyc
.pytest_cache/
.ruff_cache/
.mypy_cache/
dist/
*.egg-info/
# real broker reports and other personal inputs — never committed
backend/tests/fixtures/reports/raw/*
!backend/tests/fixtures/reports/raw/.gitkeep
# flutter / dart
app/.dart_tool/
app/build/
app/.flutter-plugins*
app/packages/api_client/.dart_tool/
app/packages/api_client/build/
# editor / os
.DS_Store
.idea/
.vscode/
result
# public Russian trusted CA bundle (not a secret) — the global gitignore drops *.pem
!deploy/certs/*.pem
!backend/certs/*.pem