feat(database): add categories route

This commit is contained in:
frab1t 2019-07-04 08:54:04 +02:00
parent 591810d484
commit 7f4bd21864
1 changed files with 8 additions and 0 deletions

8
src/routes/categories.js Normal file
View 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;