Files
meeting-protocol-service/backend/app/main.py
T
2026-04-03 22:08:28 +05:00

20 lines
362 B
Python

from contextlib import asynccontextmanager
from fastapi import FastAPI
from app.api.auth import router as auth_router
@asynccontextmanager
async def lifespan(app: FastAPI):
yield
app = FastAPI(title="Meeting Protocol Service", lifespan=lifespan)
app.include_router(auth_router)
@app.get("/api/health")
async def health():
return {"status": "ok"}