feat(database): add tickets routes

This commit is contained in:
frab1t 2019-07-04 08:54:40 +02:00
parent 7f4bd21864
commit 2a50aeda4b
1 changed files with 11 additions and 0 deletions

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;