init
This commit is contained in:
13
app/config.py
Normal file
13
app/config.py
Normal 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()
|
||||
Reference in New Issue
Block a user