index.js 249 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import express from "express";
Kim, Subin's avatar
Kim, Subin committed
2
3
import movieRouter from "./movie.route.js";
import cinemaRouter from "./cinema.route.js";
Kim, Subin's avatar
Kim, Subin committed
4
5

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

Jiwon Yoon's avatar
Jiwon Yoon committed
7
router.use('/movie', movieRouter)
Kim, Subin's avatar
Kim, Subin committed
8
router.use('/cinema', cinemaRouter)
Kim, Subin's avatar
Kim, Subin committed
9
10

export default router;