14 lines
356 B
Python
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()
|