Dagemark-Backend/app/config.py
2026-08-10 00:51:18 +02:00

23 lines
371 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
app_name: str = "Backend"
app_version: str = "0.1"
database_url: str = "sqlite:///data/app.db"
debug: bool = True
secret_key: str = ""
algorithm: str = ""
access_token_expire_minutes: int = 10
class Config:
env_file = ".env"
settings = Settings()