user.routes.js 221 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
import express from "express";
import userCtrl from '../controllers/user.controller.js';

const router = express.Router()

이재연's avatar
이재연 committed
6
router.route('/signup')
Kim, Subin's avatar
Kim, Subin committed
7
8
9
10
    .post(userCtrl.signup)
    .get(userCtrl.hello)

export default router