node-go/packages/play-node-go/server/routes/auth.js
2020-02-05 16:44:31 -08:00

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;