Files
life/backend/app/config.py

14 lines
347 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
DATABASE_URL: str = "postgresql://admin:AAAbraK!!!@localhost:5432/life"
AUTH_USERNAME: str = "will"
AUTH_PASSWORD: str = "changeme"
JWT_SECRET: str = "changeme-secret"
JWT_ALGORITHM: str = "HS256"
JWT_EXPIRE_HOURS: int = 24
settings = Settings()