Basic user model and login authentication :]

This commit is contained in:
Hannah dagemark 2026-08-10 00:51:18 +02:00
commit 859d2e7a98
8 changed files with 315 additions and 4 deletions

View file

@ -1,8 +1,8 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
app_name: str = "DagemarkBackend"
class Settings(BaseSettings):
app_name: str = "Backend"
app_version: str = "0.1"
@ -10,7 +10,14 @@ class Settings(BaseSettings):
debug: bool = True
secret_key: str = ""
algorithm: str = ""
access_token_expire_minutes: int = 10
class Config:
env_file = ".env"
settings = Settings()
settings = Settings()