resonate-api / app /core /config.py
sandy898's picture
Initial backend deployment
d597de7
Raw
History Blame Contribute Delete
411 Bytes
import os
from pathlib import Path
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
PROJECT_NAME: str = "Resonate Recommendation Engine"
API_V1_STR: str = "/api/v1"
DATA_DIR: Path = Path(os.getenv("DATA_DIR", "/app/data"))
TMDB_API_KEY: str = os.getenv("TMDB_API_KEY", "")
class Config:
env_file = ".env"
case_sensitive = True
settings = Settings()