Files
Meal-Planner/backend/app/config.py
T
admin 1328ec359d feat: add Phase 1 infrastructure skeleton
Backend (FastAPI):
- docker-compose with all 4 services
- FastAPI app with health endpoints
- SQLAlchemy models for all tables
- Placeholder API endpoints for all routes
- Config and database modules
- requirements.txt with all dependencies

Frontend (React):
- package.json with React, Tailwind, React Query, React Router
- Vite config with API proxy
- Tailwind and TypeScript configs
- Basic App with routing skeleton
- Placeholder pages (Dashboard, MealDetail, Pantry)

Infrastructure:
- nginx config for reverse proxy
- Dockerfile for backend and frontend
2026-05-04 19:29:35 -07:00

24 lines
601 B
Python

from pydantic_settings import BaseSettings
from typing import Optional
class Settings(BaseSettings):
DATABASE_URL: str
SENDGRID_API_KEY: Optional[str] = None
LUCKY_CA_URL: str = "https://www.luckyncal.com"
AI_IMAGE_ENABLED: bool = False
AI_IMAGE_PROVIDER: Optional[str] = None
AI_IMAGE_API_KEY: Optional[str] = None
LOG_LEVEL: str = "INFO"
SECRET_KEY: str = "dev-secret-key"
FAMILY_EMAIL_1: Optional[str] = None
FAMILY_EMAIL_2: Optional[str] = None
RECIPES_EMAIL: Optional[str] = None
class Config:
env_file = ".env"
settings = Settings()