room.routers.js 332 Bytes
Newer Older
Soo Hyun Kim's avatar
Soo Hyun Kim committed
1
2
3
4
5
6
7
import express from 'express'
import roomCtrl from '../controllers/room.controller.js'

const router = express.Router()

router.route('/room/makeRoom')
    .post(roomCtrl.makeRoom)
Choi Ga Young's avatar
Choi Ga Young committed
8
9
10

router.route('/room/closedlist')
    .get(roomCtrl.getClosedList)
11
12
13

router.route('/room/openlist')
    .get(roomCtrl.getOpenList)
Soo Hyun Kim's avatar
Soo Hyun Kim committed
14
export default router