node-go/server/routes/auth.js

10 lines
244 B
JavaScript
Raw Normal View History

2020-01-10 01:44:58 +00:00
const express = require('express');
const router = express.Router();
const authController = require('../controllers/auth');
2020-01-15 07:09:01 +00:00
router.post('/signup', authController.signup);
2020-01-10 01:44:58 +00:00
router.post('/login', authController.login);
module.exports = router;