18 lines
402 B
Python
18 lines
402 B
Python
|
|
"""
|
||
|
|
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"}
|