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.
ProgBlog/test/unit/base/util/test-routes/api/foo/bar.js

13 lines
219 B
JavaScript
Raw Normal View History

2016-02-19 12:58:16 -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;