mirror of https://github.com/franjsco/tick3t-api
feat(database): add tickets routes
This commit is contained in:
parent
7f4bd21864
commit
2a50aeda4b
|
@ -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…
Reference in New Issue