User.routers.js 229 Bytes
Newer Older
Soo Hyun Kim's avatar
Soo Hyun Kim committed
1
2
3
4
5
6
7
8
9
import express from 'express'
import userCtrl from '../controllers/user.controllers.js'

const router = express.Router()

router.route('/api/users/signup')
    .post(userCtrl.signup)
    .get(userCtrl.hello)
export default router