index.js 249 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 subjectRouter from './subject.route.js';
Kim, Subin's avatar
Kim, Subin committed
4
5
6

const router = express.Router();

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

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