sbuhacks/api/routes/router.js
2022-09-24 21:51:39 -04:00

9 lines
267 B
JavaScript

const express = require('express')
const router = express.Router()
const UserAPI = require('../apis/user-apis')
router.post('/login', UserAPI.loginUser)
router.post('/register', UserAPI.registerUser)
router.get('/logout', UserAPI.logoutUser)
module.exports = router