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

const router = express.Router()

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

export default router