template for service rather than hub

Previous template structure had direct handling of auth. This structure is designed to get auth from the hub instead.
This commit is contained in:
Chris Milne 2026-06-05 16:39:14 +01:00
parent ed4a3fe0b8
commit ea9803536a
27 changed files with 223 additions and 117 deletions

View file

@ -7,12 +7,15 @@ from src.auth.router import router as auth_router
from src._module_template.router import router as template_router
api_router = APIRouter()
api_router = APIRouter(
prefix="/api/v1"
)
api_router.include_router(auth_router)
api_router.include_router(template_router)
@api_router.get("/healthcheck", include_in_schema=False)
def healthcheck():
"""Simple health check endpoint."""
return {"status": "ok"}
"""Simple health check endpoint."""
return {"status": "ok"}