index.js 339 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
7

const router = express.Router();

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

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