-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookshop-db.json
194 lines (194 loc) · 4.88 KB
/
bookshop-db.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"books": [
{
"id": 1,
"title": "The Crossing",
"author": "Michael Connelly",
"genre": "Thriller",
"format": "Kindle",
"price": 6.99,
"description": "Six months ago, Harry Bosch left the LAPD before they could fire him, and then hired maverick Defense Attorney Mickey Haller to sue the department for forcing him out.",
"inStock": true,
"averageRating": 4.3
},
{
"id": 2,
"title": "The Turn of the Key",
"author": "Ruth Ware",
"genre": "Thriller",
"format": "Paperback",
"price": 5.94,
"description": "The dream house will become her worst nightmare.",
"inStock": true,
"averageRating": 4.1
},
{
"id": 3,
"title": "My Life in Red and White",
"author": "Arsene Wenger",
"genre": "Biography",
"format": "Hardback",
"price": 14.00,
"description": "There is only one Arsène Wenger - and for the very first time, in his own words, this is his story.",
"inStock": true,
"averageRating": 4.7
},
{
"id": 4,
"title": "A Promised Land",
"author": "Barack Obama",
"genre": "Biography",
"format": "Hardback",
"price": 17.00,
"description": "riveting, deeply personal account of history in the making - from the president who inspired us to believe in the power of democracy.",
"inStock": true,
"averageRating": 4.8
},
{
"id": 5,
"title": "A Song for the Dark Times",
"author": "Ian Rankin",
"genre": "Thriller",
"format": "Paperback",
"price": 6.25,
"description": "When his daughter Samantha calls in the dead of night, John Rebus knows it's not good news. Her husband has been missing for two days..",
"inStock": true,
"averageRating": 4.3
},
{
"id": 6,
"title": "Less",
"author": "Andrew Sean Greer",
"genre": "Humour",
"format": "Paperback",
"price": 5.99,
"description": "Arthur Less is a failed novelist about to turn fifty. A wedding invitation arrives in the post: it is from an ex-boyfriend of nine years who is engaged to someone else.",
"inStock": true,
"averageRating": 4.4
},
{
"id": 7,
"title": "Knowledge of Angels",
"author": "Jill Paton Walsh",
"genre": "Literature",
"format": "Paperback",
"price": 9.04,
"description": "Knowledge of Angels features two strangers who arrive on the island of Grandinsula and consequently become the subject of a unique experiment that puts the lives of both unknowing participants in the balance.",
"inStock": true,
"averageRating": 4.8
},
{
"id": 8,
"title": "Normal People",
"author": "Sally Rooney",
"genre": "Contemporary Fiction",
"format": "Paperback",
"price": 4.50,
"description": "A superb evocation of a couple at Trinity College Dublin who show what it is to be young and in love.",
"inStock": true,
"averageRating": 4.4
},
{
"id": 9,
"title": "The Midnight Library",
"author": "Matt Haig",
"genre": "Contemporary Fiction",
"format": "Paperback",
"price": 7.37,
"description": "Somewhere out beyond the edge of the universe there is a library that contains an infinite number of books, each one the story of another reality.",
"inStock": true,
"averageRating": 4.1
},
{
"id": 10,
"title": "The Dark Forest",
"author": "Cixin Lieu",
"genre": "Science Fiction",
"format": "Paperback",
"price": 7.10,
"description": "In The Dark Forest, Earth is reeling from the revelation of a coming alien invasion - four centuries in the future.",
"inStock": true,
"averageRating": 4.3
}
],
"orders": [
{
"id": 1,
"userId": 2,
"orderRef": "GH5567-YTD6-YT533",
"orderDate": "2020/10/09 13:01:14",
"paymentMethod": "VISA",
"subtotal": 14.25,
"delivery": 5.0,
"tax": 3.0,
"total": 22.25,
"orderItems": [
{
"productId": 2,
"quantity": 2,
"title": "The Turn of the Key",
"price": 4.0
},
{
"productId": 5,
"quantity": 1,
"title": "A Song for the Dark Times",
"price": 6.25
}
]
},
{
"id": 2,
"userId": 4,
"orderRef": "JL8632-HFS9-KL876",
"orderDate": "2020/10/07 10:22:17",
"paymentMethod": "MasterCard",
"subtotal": 5.99,
"delivery": 3.0,
"tax": 1.0,
"total": 10.99,
"orderItems": [
{
"productId": 6,
"quantity": 1,
"title": "Less",
"price": 5.99
}
]
}
],
"users": [
{
"id": 1,
"title": "Mr",
"firstName": "Yusuf",
"lastName": "Aziz",
"email": "[email protected]",
"telephone": "0101 222333"
},
{
"id": 2,
"title": "Ms",
"firstName": "Mary",
"lastName": "Jones",
"email": "[email protected]",
"telephone": "0202 546546"
},
{
"id": 3,
"title": "Mr",
"firstName": "Harry",
"lastName": "Connor",
"email": "[email protected]",
"telephone": "0303 543987"
},
{
"id": 4,
"title": "Mrs",
"firstName": "Theresa",
"lastName": "Cortez",
"email": "[email protected]",
"telephone": "0404 876543"
}
]
}