WIP: initial fastapi endpoint implementation

Client endpoint - GET & POST implemented
This commit is contained in:
2025-06-08 23:17:58 +02:00
parent aa64491313
commit e60489715a
25 changed files with 207 additions and 88 deletions
+22
View File
@@ -0,0 +1,22 @@
from pydantic import (
MySQLDsn
)
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
"""
"""
database_uri: MySQLDsn
environment: str
project_name: str
model_config = SettingsConfigDict(
# One level above ./backend
env_file='../.env',
env_ignore_empty=True,
extra='ignore'
)
api_v1_str: str = "/api/v1"
settings = Settings() # type: ignore