feat: authentication — register, login, JWT, tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-03 22:08:28 +05:00
parent 5b92553148
commit bfb1fc9312
11 changed files with 300 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
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"}