Adding books microservice for GE 8.6

This commit is contained in:
Ravi Srinivasan
2019-07-02 17:33:29 +05:30
parent 1deac4dc9b
commit f3b01722a2
17 changed files with 4273 additions and 0 deletions

13
books/routes/authors.js Normal file
View File

@@ -0,0 +1,13 @@
const express = require('express');
const router = express.Router();
const authors = require('../data/authors');
/* GET users listing. */
router.get('/', (req, res) => {
res.json(authors);
});
module.exports = router;