routes.js 586 B

1234567891011121314
  1. const express = require("express");
  2. const router = express.Router();
  3. router.use("/auth", require("./modules/auth"));
  4. router.use("/user", require("./modules/user"));
  5. router.use("/course", require("./modules/course"));
  6. router.use("/group", require("./modules/group"));
  7. router.use("/question", require("./modules/question"));
  8. router.use("/assignment", require("./modules/assignment"));
  9. router.use("/review", require("./modules/review"));
  10. router.use("/resultstatistics", require("./modules/resultstatistics"));
  11. router.use("/codehw", require("./modules/codehw"));
  12. module.exports = router;