index.js 321 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import express from "express";
한규민's avatar
한규민 committed
2
import userRouter from './user.route.js'
Jiwon Yoon's avatar
Jiwon Yoon committed
3
import movieRouter from './movie.route.js'
Kim, Subin's avatar
Kim, Subin committed
4
import cinemaRouter from "./cinema.route.js";
Kim, Subin's avatar
Kim, Subin committed
5
6

const router = express.Router();
Kim, Subin's avatar
Kim, Subin committed
7

Jiwon Yoon's avatar
Jiwon Yoon committed
8
router.use('/movie', movieRouter)
한규민's avatar
한규민 committed
9
router.use('/auth', userRouter)
Kim, Subin's avatar
Kim, Subin committed
10
router.use('/cinema', cinemaRouter)
Kim, Subin's avatar
Kim, Subin committed
11
12

export default router;