This commit is contained in:
Artem Tsyrulnikov
2026-04-06 19:27:27 +03:00
commit 477ddb8bf9
38 changed files with 1916 additions and 0 deletions

13
app/config.py Normal file
View File

@@ -0,0 +1,13 @@
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()