HuyDN
Phase2/HuyDN: add crud jds and cvs
5b2e817
raw
history blame
745 Bytes
from fastapi import APIRouter
from app.modules.question_tests_retrieval import qtretrieval_router
from app.modules.matching_cv import cvmatching_router
# crud import
from app.modules.crud_question_test import crud_question_tests_router
from app.modules.crud_cvs import crud_cvs_router
from app.modules.crud_jds import crud_jds_router
modules_router = APIRouter(prefix="/modules", tags=["modules"])
modules_router.include_router(qtretrieval_router)
modules_router.include_router(cvmatching_router)
modules_router.include_router(crud_question_tests_router)
modules_router.include_router(crud_cvs_router)
modules_router.include_router(crud_jds_router)
@modules_router.get("/")
async def index():
return {"message": "Welcome to modules page"}