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
+8 -3
View File
@@ -4,17 +4,22 @@
NOTE:
-
"""
from app.config import settings
from app.core.config import settings
from typing import Union
from fastapi import FastAPI
from app.api.clients.endpoints import router as clients_router
app = FastAPI(
title=settings.PROJECT_NAME,
openapi_url=f"{settings.API_V1_STR}/openapi.json"
title=settings.project_name,
openapi_url=f"{settings.api_v1_str}/openapi.json"
)
@app.get("/")
def read_root():
"""
"""
return {"Hello": "World"}
app.include_router(clients_router, tags=["clients"])