initial commit

This commit is contained in:
2026-02-12 18:45:10 +01:00
commit be7bbba456
42 changed files with 3767 additions and 0 deletions

33
backend/.env.example Normal file
View File

@@ -0,0 +1,33 @@
# FluentGerman.ai — Environment Configuration
# Copy to .env and fill in your values
# App
APP_PORT=8999
# Security
SECRET_KEY=generate-a-strong-random-key-here
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# Database (PostgreSQL)
DATABASE_URL=postgresql+asyncpg://fluentgerman:YOUR_PASSWORD@localhost:5432/fluentgerman
# LLM Provider (via LiteLLM — supports openai, anthropic, gemini, etc.)
# For Gemini: set LLM_PROVIDER=gemini, LLM_MODEL=gemini-2.0-flash (auto-prefixed)
# For OpenAI: set LLM_PROVIDER=openai, LLM_MODEL=gpt-4o-mini
LLM_PROVIDER=gemini
LLM_API_KEY=your-api-key-here
LLM_MODEL=gemini-2.0-flash
# Voice mode: "api" (OpenAI Whisper/TTS) or "browser" (Web Speech API fallback)
VOICE_MODE=browser
TTS_MODEL=tts-1
TTS_VOICE=alloy
STT_MODEL=whisper-1
# Admin bootstrap (only used on first startup)
ADMIN_EMAIL=admin@fluentgerman.ai
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me-immediately
# Deployment domain (used in nginx template)
# APP_DOMAIN=fluentgerman.mydomain.io