first commit

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-25 20:36:00 +03:00
co-authored by Cursor
commit bbff3cb10b
35 changed files with 2054 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
from fastapi import APIRouter, Request
from fastapi.responses import HTMLResponse
router = APIRouter(tags=["public"])
@router.get("/", response_class=HTMLResponse)
async def landing(request: Request):
return request.app.state.templates.TemplateResponse(
"landing.html",
{
"request": request,
"app_name": request.app.state.settings.app_name,
},
)
@router.get("/health")
async def health():
return {"status": "ok"}