tasklert-api / build /lib /core /config.py
hashir-qt's picture
initial deploy
507973e
Raw History Blame Contribute Delete
526 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
model_config = SettingsConfigDict(
env_file=".env",
env_file_encoding="utf-8",
)
database_url: str = "sqlite+aiosqlite:///./todo.db"
secret_key: str = "change-this-in-production"
algorithm: str = "HS256"
access_token_expire_minutes: int = 30
app_name: str = "Phase II Full-Stack Todo App"
debug: bool = False
frontend_url: str = "http://localhost:3000"
settings = Settings()