From cb00e2237fbbddba716bd47ff2e5d6a3e5db3c0b Mon Sep 17 00:00:00 2001 From: Nikhil Shah Date: Wed, 20 Mar 2019 13:36:19 +0530 Subject: [PATCH 1/5] Create db.json Added new file to be used in samples. --- samples/app-dev/db.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 samples/app-dev/db.json diff --git a/samples/app-dev/db.json b/samples/app-dev/db.json new file mode 100644 index 00000000..1a8bb71d --- /dev/null +++ b/samples/app-dev/db.json @@ -0,0 +1,37 @@ +{ +"Book": [ + { + "id":1, + "isbn": "1451648537", + "name": "Steve Jobs", + "description": "Biography of Apple Co-Founder Steve Jobs", + "authorName": "Walter Isaacson", + "releaseDate": "2012-10-24", + "vintage": "false", + "signed": "false", + "price": "21.00" + }, + { + "id":2, + "isbn": "0385537859", + "name": "Inferno", + "description": "Robert Langdon returns in Dan Brown's latest fast paced action thirller", + "authorName": "Dan Brown", + "releaseDate": "2013-05-14", + "vintage": "false", + "signed": "true", + "price": "14.09" + }, + { + "id":3, + "isbn": "0399103421", + "name": "The Godfather", + "description": "The Godfather is an epic story of a New York's top mafia family, loyalty, and how men of honor live in their own world, and die by their own laws.", + "authorName": "Mario Puzo", + "releaseDate": "1969-03-10", + "vintage": "true", + "signed": "true", + "price": "50.00" + } +] +} From dd24bac57c3b36888390a52e574d4e3d7b654859 Mon Sep 17 00:00:00 2001 From: Nikhil Shah Date: Wed, 20 Mar 2019 14:10:11 +0530 Subject: [PATCH 2/5] Create db.json Created the bookstore json file for samples. --- db.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 db.json diff --git a/db.json b/db.json new file mode 100644 index 00000000..1a8bb71d --- /dev/null +++ b/db.json @@ -0,0 +1,37 @@ +{ +"Book": [ + { + "id":1, + "isbn": "1451648537", + "name": "Steve Jobs", + "description": "Biography of Apple Co-Founder Steve Jobs", + "authorName": "Walter Isaacson", + "releaseDate": "2012-10-24", + "vintage": "false", + "signed": "false", + "price": "21.00" + }, + { + "id":2, + "isbn": "0385537859", + "name": "Inferno", + "description": "Robert Langdon returns in Dan Brown's latest fast paced action thirller", + "authorName": "Dan Brown", + "releaseDate": "2013-05-14", + "vintage": "false", + "signed": "true", + "price": "14.09" + }, + { + "id":3, + "isbn": "0399103421", + "name": "The Godfather", + "description": "The Godfather is an epic story of a New York's top mafia family, loyalty, and how men of honor live in their own world, and die by their own laws.", + "authorName": "Mario Puzo", + "releaseDate": "1969-03-10", + "vintage": "true", + "signed": "true", + "price": "50.00" + } +] +} From 9aedc58c0ea6e336a10362882ec7025d37aac49a Mon Sep 17 00:00:00 2001 From: Nikhil Shah Date: Wed, 20 Mar 2019 14:10:54 +0530 Subject: [PATCH 3/5] Create db.json --- samples/db.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 samples/db.json diff --git a/samples/db.json b/samples/db.json new file mode 100644 index 00000000..1a8bb71d --- /dev/null +++ b/samples/db.json @@ -0,0 +1,37 @@ +{ +"Book": [ + { + "id":1, + "isbn": "1451648537", + "name": "Steve Jobs", + "description": "Biography of Apple Co-Founder Steve Jobs", + "authorName": "Walter Isaacson", + "releaseDate": "2012-10-24", + "vintage": "false", + "signed": "false", + "price": "21.00" + }, + { + "id":2, + "isbn": "0385537859", + "name": "Inferno", + "description": "Robert Langdon returns in Dan Brown's latest fast paced action thirller", + "authorName": "Dan Brown", + "releaseDate": "2013-05-14", + "vintage": "false", + "signed": "true", + "price": "14.09" + }, + { + "id":3, + "isbn": "0399103421", + "name": "The Godfather", + "description": "The Godfather is an epic story of a New York's top mafia family, loyalty, and how men of honor live in their own world, and die by their own laws.", + "authorName": "Mario Puzo", + "releaseDate": "1969-03-10", + "vintage": "true", + "signed": "true", + "price": "50.00" + } +] +} From 345ea2b76b872be9e285455ff6c5c039effdb06f Mon Sep 17 00:00:00 2001 From: Nikhil Shah Date: Wed, 20 Mar 2019 14:13:54 +0530 Subject: [PATCH 4/5] Delete db.json Deleted this file. --- samples/db.json | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 samples/db.json diff --git a/samples/db.json b/samples/db.json deleted file mode 100644 index 1a8bb71d..00000000 --- a/samples/db.json +++ /dev/null @@ -1,37 +0,0 @@ -{ -"Book": [ - { - "id":1, - "isbn": "1451648537", - "name": "Steve Jobs", - "description": "Biography of Apple Co-Founder Steve Jobs", - "authorName": "Walter Isaacson", - "releaseDate": "2012-10-24", - "vintage": "false", - "signed": "false", - "price": "21.00" - }, - { - "id":2, - "isbn": "0385537859", - "name": "Inferno", - "description": "Robert Langdon returns in Dan Brown's latest fast paced action thirller", - "authorName": "Dan Brown", - "releaseDate": "2013-05-14", - "vintage": "false", - "signed": "true", - "price": "14.09" - }, - { - "id":3, - "isbn": "0399103421", - "name": "The Godfather", - "description": "The Godfather is an epic story of a New York's top mafia family, loyalty, and how men of honor live in their own world, and die by their own laws.", - "authorName": "Mario Puzo", - "releaseDate": "1969-03-10", - "vintage": "true", - "signed": "true", - "price": "50.00" - } -] -} From 9fd0b1dd48b9bbb2170d86f53d471e552d39cf79 Mon Sep 17 00:00:00 2001 From: Nikhil Shah Date: Wed, 20 Mar 2019 14:14:15 +0530 Subject: [PATCH 5/5] Delete db.json Deleted this file. --- samples/app-dev/db.json | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 samples/app-dev/db.json diff --git a/samples/app-dev/db.json b/samples/app-dev/db.json deleted file mode 100644 index 1a8bb71d..00000000 --- a/samples/app-dev/db.json +++ /dev/null @@ -1,37 +0,0 @@ -{ -"Book": [ - { - "id":1, - "isbn": "1451648537", - "name": "Steve Jobs", - "description": "Biography of Apple Co-Founder Steve Jobs", - "authorName": "Walter Isaacson", - "releaseDate": "2012-10-24", - "vintage": "false", - "signed": "false", - "price": "21.00" - }, - { - "id":2, - "isbn": "0385537859", - "name": "Inferno", - "description": "Robert Langdon returns in Dan Brown's latest fast paced action thirller", - "authorName": "Dan Brown", - "releaseDate": "2013-05-14", - "vintage": "false", - "signed": "true", - "price": "14.09" - }, - { - "id":3, - "isbn": "0399103421", - "name": "The Godfather", - "description": "The Godfather is an epic story of a New York's top mafia family, loyalty, and how men of honor live in their own world, and die by their own laws.", - "authorName": "Mario Puzo", - "releaseDate": "1969-03-10", - "vintage": "true", - "signed": "true", - "price": "50.00" - } -] -}