Frontend guard shows login screen for unauthenticated users. Backend verifies Firebase ID tokens on all protected endpoints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
337 B
Python
13 lines
337 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
database_url: str = "postgresql+asyncpg://favs:favs@favs-db:5432/favs"
|
|
anthropic_api_key: str = ""
|
|
categorize_model: str = "claude-haiku-4-5-20251001"
|
|
firebase_project_id: str = ""
|
|
|
|
model_config = {"env_file": ".env"}
|
|
|
|
|
|
settings = Settings()
|