my-favs/backend/app/config.py
RamonCalvo aea7bf5ada feat: add bookmarks CRUD API with FastAPI and Docker Compose
REST API for managing personal bookmarks (title, link, category).
PostgreSQL database with async SQLAlchemy, containerized with Docker Compose.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 18:37:23 -06:00

12 lines
303 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"
model_config = {"env_file": ".env"}
settings = Settings()