Implement lab3 replicated API and experiment evidence

This commit is contained in:
Polusikkkk
2026-10-29 20:20:13 +03:00
parent 0ab3a341aa
commit 5847952e76
48 changed files with 4013 additions and 33 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"}