Files
hackathon/app/config.py
Artem Tsyrulnikov 477ddb8bf9 init
2026-04-06 19:27:27 +03:00

14 lines
356 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str = "postgresql://postgres:postgres@localhost:5432/hackathon_db"
secret_key: str = "super-secret-key-change-in-production"
algorithm: str = "HS256"
access_token_expire_minutes: int = 30
model_config = {"env_prefix": ""}
settings = Settings()