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

29
books/data/authors.js Normal file
View File

@@ -0,0 +1,29 @@
const authors = [
{
id: 1,
name: 'James Joyce',
dob: 1882
},
{
id: 2,
name: 'F Scott Fitzgerald',
dob: 1896
},
{
id: 3,
name: 'Aldous Huxley',
dob: 1894
},
{
id: 4,
name: 'Vladimir Nabokov',
dob: 1899
},
{
id: 5,
name: 'William Faulkner',
dob: 1897
}
];
module.exports.books = authors;