This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
crispy-train/test/unit/base/util/test-routes/api/foo/bar.js

13 lines
219 B
JavaScript
Raw Normal View History

2016-01-25 09:19:28 -05:00
'use strict';
const express = require('express');
let router = express.Router();
/* GET home page. */
router.get('/', (req, res, next) => {
res.json({
index: { title: 'Express' },
});
});
module.exports = router;