16 lines
458 B
Python
16 lines
458 B
Python
from fastapi import APIRouter
|
|
|
|
from .training import training_router
|
|
from .user import user_router
|
|
from .exam import exam_router
|
|
|
|
router = APIRouter(prefix="/api", tags=["Home"])
|
|
|
|
@router.get('/healthcheck')
|
|
async def healthcheck():
|
|
return {"healthy": True}
|
|
|
|
router.include_router(training_router, prefix="/training", tags=["Training"])
|
|
router.include_router(user_router, prefix="/user", tags=["Users"])
|
|
router.include_router(exam_router)
|