index.js 484 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";
Jiwon Yoon's avatar
Jiwon Yoon committed
5
6
import kakaopayRouter from "./kakaopay.route.js";
import emailRouter from './email.route.js'
Kim, Subin's avatar
Kim, Subin committed
7
8

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

Jiwon Yoon's avatar
Jiwon Yoon committed
10
router.use('/movie', movieRouter)
한규민's avatar
한규민 committed
11
router.use('/auth', userRouter)
Jiwon Yoon's avatar
Jiwon Yoon committed
12
13
router.use('/kakaopay',kakaopayRouter)
router.use('/email',emailRouter)
14
router.use('/info', cinemaRouter)
Kim, Subin's avatar
Kim, Subin committed
15
16

export default router;