1
0
mirror of https://github.com/franjsco/tick3t-api synced 2025-06-05 22:09:20 +02:00

feat(database): add users routes

This commit is contained in:
frab1t 2019-07-04 08:55:15 +02:00
parent 2a50aeda4b
commit 085e8c1fbd

10
src/routes/users.js Normal file
View File

@ -0,0 +1,10 @@
const express = require('express');
const router = express.Router();
const userController = require('../controllers/users');
router.post('/register', userController.create);
router.post('/login', userController.authenticate);
module.exports = router;