user.route.js 250 Bytes
Newer Older
Choi Ga Young's avatar
Choi Ga Young committed
1
2
3
4
5
6
7
8
9
10
11
import express from 'express';
import userCtrl from '../controllers/user.controller.js';

const router = express.Router();

router
  .route("/signup")
  .post(userCtrl.signup)

router
  .route("/login")
12
  .post(userCtrl.login)
Choi Ga Young's avatar
Choi Ga Young committed
13
14

export default router;