This commit is contained in:
Chris Milne 2026-05-13 15:09:59 +01:00
commit 0dd23f6de0
33 changed files with 881 additions and 0 deletions

17
src/api.py Normal file
View file

@ -0,0 +1,17 @@
"""
This module hooks the routers for the main endpoints into a single router for importing to the app.
"""
from fastapi import APIRouter
from src.auth.router import router as auth_router
api_router = APIRouter()
api_router.include_router(auth_router)
@api_router.get("/healthcheck", include_in_schema=False)
def healthcheck():
"""Simple health check endpoint."""
return {"status": "ok"}