sbuhacks/api/routes/router.js

8 lines
225 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)
module.exports = router