sbuhacks/api/routes/router.js

9 lines
267 B
JavaScript
Raw Normal View History

2022-09-24 17:06:11 -04:00
const express = require('express')
const router = express.Router()
const UserAPI = require('../apis/user-apis')
router.post('/login', UserAPI.loginUser)
router.post('/register', UserAPI.registerUser)
2022-09-24 21:51:39 -04:00
router.get('/logout', UserAPI.logoutUser)
2022-09-24 17:06:11 -04:00
module.exports = router