готово лаб2
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-10-23 17:51:58 +03:00
parent 65003b6119
commit 6dbc2da1ca
47 changed files with 201807 additions and 25 deletions
+23
View File
@@ -0,0 +1,23 @@
from fastapi import APIRouter
router = APIRouter(tags=["health"])
@router.get("/health/live")
def live():
return {"status": "ok"}
@router.get("/health/ready")
def ready():
return {"status": "ok"}
@router.get("/")
def home():
return {
"service": "MTUSI Messenger",
"version": "1.1.0",
"docs": "/docs",
}