index.js 412 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import express from "express";
Choi Ga Young's avatar
Choi Ga Young committed
2
import userRouter from './user.route.js';
3
import scheduleRouter from "./schedule.route.js";
4
import subjectRouter from './subject.route.js';
Choi Ga Young's avatar
Choi Ga Young committed
5
import planRouter from './plan.route.js'
Kim, Subin's avatar
Kim, Subin committed
6
7
8

const router = express.Router();

Choi Ga Young's avatar
Choi Ga Young committed
9
router.use('/auth', userRouter)
10
router.use('/schedule', scheduleRouter)
11
router.use('/subject', subjectRouter)
Choi Ga Young's avatar
Choi Ga Young committed
12
router.use('/plan', planRouter)
Choi Ga Young's avatar
Choi Ga Young committed
13

Kim, Subin's avatar
Kim, Subin committed
14
export default router;