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');
router.post('/signup', authController.signUp);
router.post('/login', authController.login);
module.exports = router;