9 lines
244 B
JavaScript
9 lines
244 B
JavaScript
const express = require('express');
|
|
const router = express.Router();
|
|
|
|
const authController = require('../controllers/auth');
|
|
|
|
router.post('/signup', authController.signUp);
|
|
router.post('/login', authController.login);
|
|
|
|
module.exports = router;
|