mirror of
https://github.com/franjsco/tick3t-api
synced 2025-01-04 19:09:12 +01:00
feat(database): add categories route
This commit is contained in:
parent
591810d484
commit
7f4bd21864
8
src/routes/categories.js
Normal file
8
src/routes/categories.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
const express = require('express');
|
||||||
|
|
||||||
|
const router = express.Router();
|
||||||
|
const categoriesController = require('../controllers/category');
|
||||||
|
|
||||||
|
router.get('/', categoriesController.getById);
|
||||||
|
|
||||||
|
module.exports = router;
|
Loading…
Reference in New Issue
Block a user