index.ts 397 Bytes
Newer Older
1
2
import express from "express";
import authRouter from "./auth.route";
Jiwon Yoon's avatar
Jiwon Yoon committed
3
import questionRouter from "./question.route";
Yoon, Daeki's avatar
Yoon, Daeki committed
4
import roleRouter from "./role.route";
Yoon, Daeki's avatar
Yoon, Daeki committed
5
import userRouter from "./user.route";
6
7
8
9

const router = express.Router();

router.use("/auth", authRouter);
Yoon, Daeki's avatar
Yoon, Daeki committed
10
router.use("/questions", questionRouter);
Yoon, Daeki's avatar
Yoon, Daeki committed
11
12
router.use("/roles", roleRouter);
router.use("/users", userRouter);
13
14

export default router;