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:
parent
7f4bd21864
commit
2a50aeda4b
11
src/routes/tickets.js
Normal file
11
src/routes/tickets.js
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user