Обновление приложения

This commit is contained in:
2026-04-28 22:37:19 +03:00
parent 7d00cf062e
commit 52594b5dc6
99 changed files with 5736 additions and 1052 deletions

18
backend/.env.example Normal file
View File

@@ -0,0 +1,18 @@
# Copy to .env and fill in all values — never commit .env
# PostgreSQL
POSTGRES_DB=financedb
POSTGRES_USER=financeuser
POSTGRES_PASSWORD=CHANGE_ME_STRONG_PASSWORD
# Full DSN used by SQLAlchemy (set automatically in docker-compose, or set manually)
DATABASE_URL=postgresql://financeuser:CHANGE_ME@localhost:5432/financedb
# JWT — generate with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=CHANGE_ME_32_BYTES_HEX
# CORS — comma-separated origins allowed to call the API
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# App
DEBUG=false