room.routers.js 333 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)
우지원's avatar
e    
우지원 committed
11
12
13
14

router.route('/room/openlist')
    .get(roomCtrl.getOpenList)

Soo Hyun Kim's avatar
Soo Hyun Kim committed
15
export default router