Commit 1e910f2e authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

Merge branch 'develop'

parents 5c9540ec 2e1489ce
import express from "express"; import express from "express";
import userRouter from "./user.route";
import authRouter from "./auth.route"; import authRouter from "./auth.route";
import questionRouter from "./question.route";
import roleRouter from "./role.route"; import roleRouter from "./role.route";
import userRouter from "./user.route";
const router = express.Router(); const router = express.Router();
router.use("/auth", authRouter); router.use("/auth", authRouter);
router.use("/questions", questionRouter);
router.use("/roles", roleRouter); router.use("/roles", roleRouter);
router.use("/users", userRouter); router.use("/users", userRouter);
......
import express from "express";
import { questionCtrl } from "../controllers";
const router = express.Router();
router
.route("/create")
.post(questionCtrl.createQuestion);
export default router;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment