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

const router = express.Router();

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

export default router;