index.js 487 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';
Kim, Subin's avatar
Kim, Subin committed
5
6
import planRouter from './plan.route.js';
import todoRouter from "./todo.route.js";
Kim, Subin's avatar
Kim, Subin committed
7
8
9

const router = express.Router();

Choi Ga Young's avatar
Choi Ga Young committed
10
router.use('/auth', userRouter)
11
router.use('/schedule', scheduleRouter)
12
router.use('/subject', subjectRouter)
Choi Ga Young's avatar
Choi Ga Young committed
13
router.use('/plan', planRouter)
Kim, Subin's avatar
Kim, Subin committed
14
router.use('/todo', todoRouter)
Choi Ga Young's avatar
Choi Ga Young committed
15

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