2020-01-10 01:44:58 +00:00
|
|
|
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;
|