sbuhacks/api/routes/router.js
2022-09-24 20:23:26 -04:00

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