""" Application Configuration @author: {{ author }} @date: {{ date }} """ import os from pydantic_settings import BaseSettings class Settings(BaseSettings): """Application Settings""" APP_NAME: str = "{{ project_name }}" APP_VERSION: str = "1.0.0" DEBUG: bool = True # Database DATABASE_URL: str = "{{ database_url | default('sqlite:///./sql_app.db') }}" # JWT SECRET_KEY: str = "{{ secret_key | default('your-secret-key-change-in-production') }}" ALGORITHM: str = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES: int = 30 # CORS ALLOWED_ORIGINS: list = ["*"] class Config: env_file = ".env" case_sensitive = True settings = Settings()