Refactor API into routers and shared modules
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Polusikkkk
2026-10-16 18:45:36 +03:00
parent 083dc49564
commit 1bba3bcab0
15 changed files with 1001 additions and 682 deletions
+18
View File
@@ -0,0 +1,18 @@
from __future__ import annotations
from fastapi import APIRouter
from app.db import check_db
router = APIRouter()
@router.get("/health/live")
async def health_live():
return {"status": "ok"}
@router.get("/health/ready")
async def health_ready():
await check_db()
return {"status": "ok"}