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

feat(database): add tickets routes

This commit is contained in:
frab1t
2019-07-04 08:54:40 +02:00
parent 7f4bd21864
commit 2a50aeda4b

11
src/routes/tickets.js Normal file
View File

@ -0,0 +1,11 @@
import * as ticketController from '../controllers/ticket';
const express = require('express');
const router = express.Router();
router.post('/', ticketController.create);
router.get('/:ticketId', ticketController.getById);
module.exports = router;