Full-stack self-hosted finance app with FastAPI backend and React frontend. Features: - Accounts, transactions, budgets, investments with GBP base currency - CSV import with auto-detection for 10 UK bank formats - ML predictions: spending forecast, net worth projection, Monte Carlo - 7 selectable themes (Obsidian, Arctic, Midnight, Vault, Terminal, Synthwave, Ledger) - Receipt/document attachments on transactions (JPEG, PNG, WebP, PDF) - AES-256-GCM field encryption, RS256 JWT, TOTP 2FA, RLS, audit log - Encrypted nightly backups + key rotation script - Mobile-responsive layout with bottom nav Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
816 B
Text
22 lines
816 B
Text
# Copy to .env and fill in values
|
|
# Generate ENCRYPTION_KEY with: python3 -c "import secrets; print(secrets.token_hex(32))"
|
|
# Generate DB_PASSWORD with: python3 -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
# Generate REDIS_PASSWORD with: python3 -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
# Generate BACKUP_PASSPHRASE with: python3 -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
|
|
ENCRYPTION_KEY=changeme_generate_with_above_command
|
|
DB_PASSWORD=changeme_generate_with_above_command
|
|
REDIS_PASSWORD=changeme_generate_with_above_command
|
|
BACKUP_PASSPHRASE=changeme_generate_with_above_command
|
|
|
|
# App settings
|
|
ENVIRONMENT=production
|
|
DOMAIN=localhost
|
|
ALLOW_REGISTRATION=false
|
|
BASE_CURRENCY=GBP
|
|
|
|
# Optional: SMTP for future notifications
|
|
# SMTP_HOST=
|
|
# SMTP_PORT=587
|
|
# SMTP_USER=
|
|
# SMTP_PASSWORD=
|