-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDatabase.json
More file actions
605 lines (605 loc) · 20 KB
/
Database.json
File metadata and controls
605 lines (605 loc) · 20 KB
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
{
"cateogries": [
{
"title": "Top Picks for This Month",
"books": [
{
"id": "b1",
"title": "The Great Gatsby",
"author": "F. Scott Fitzgerald",
"thumbnail": "https://m.media-amazon.com/images/M/MV5BMTkxNTk1ODcxNl5BMl5BanBnXkFtZTcwMDI1OTMzOQ@@._V1_FMjpg_UX1000_.jpg",
"category": "Fiction"
},
{
"id": "b2",
"title": "Atomic Habits",
"author": "James Clear",
"thumbnail": "https://m.media-amazon.com/images/I/81F90H7hnML._AC_UF1000,1000_QL80_.jpg",
"category": "Self-Help"
},
{
"id": "b3",
"title": "Sapiens: A Brief History of Humankind",
"author": "Yuval Noah Harari",
"thumbnail": "https://m.media-amazon.com/images/I/713jIoMO3UL.jpg",
"category": "History"
},
{
"id": "b4",
"title": "Phanstoma",
"author": "James Clear",
"thumbnail": "https://static.bookofthemonth.com/cdn-cgi/image/format=auto,width=3840/https://static.bookofthemonth.com/covers/list/Phantasma_200x300.jpg",
"category": "Self-Help"
}
],
"id": "cat1"
},
{
"title": "New Arrivals",
"books": [
{
"id": "b5",
"title": "The Midnight Library",
"author": "Matt Haig",
"thumbnail": "https://m.media-amazon.com/images/I/81J6APjwxlL.jpg",
"category": "Fiction"
},
{
"id": "b6",
"title": "Educated",
"author": "Tara Westover",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQHtcDGz9fxMSYGUNwjVLHO-Exubg1otgYwKw&s",
"category": "Biography"
},
{
"id": "b7",
"title": "Project Hail Mary",
"author": "Andy Weir",
"thumbnail": "https://m.media-amazon.com/images/I/81zD9kaVW9L.jpg",
"category": "Science Fiction"
},
{
"id": "b8",
"title": "Gone with the Wind",
"author": "Andy Weir",
"thumbnail": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1635768733i/34689759._UX160_.jpg",
"category": "Science Fiction"
}
],
"id": "cat2"
},
{
"title": "Popular Authors",
"books": [
{
"id": "b9",
"title": "Becoming",
"author": "Michelle Obama",
"thumbnail": "https://m.media-amazon.com/images/I/81KGjsBXQ7L._AC_UF1000,1000_QL80_.jpg",
"category": "Biography"
},
{
"id": "b10",
"title": "The Alchemist",
"author": "Paulo Coelho",
"thumbnail": "https://m.media-amazon.com/images/I/61HAE8zahLL._AC_UF1000,1000_QL80_.jpg",
"category": "Fiction"
},
{
"id": "b11",
"title": "The Subtle Art of Not Giving a F*ck",
"author": "Mark Manson",
"thumbnail": "https://m.media-amazon.com/images/I/71QKQ9mwV7L._AC_UF1000,1000_QL80_.jpg",
"category": "Self-Help"
},
{
"id": "b12",
"title": "In the Heart of the Sea",
"author": "Mark Manson",
"thumbnail": "https://images3.penguinrandomhouse.com/cover/9780141001821",
"category": "Self-Help"
}
],
"id": "cat3"
},
{
"title": "Bestsellers",
"books": [
{
"id": "b13",
"title": "Where the Crawdads Sing",
"author": "Delia Owens",
"thumbnail": "https://whsmith.com.au/wp-content/uploads/2022/07/Where-the-Crawdads-Sing-FTI.jpg",
"category": "Mystery"
},
{
"id": "b14",
"title": "Circe",
"author": "Madeline Miller",
"thumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Circe_Offering_the_Cup_to_Odysseus.jpg/640px-Circe_Offering_the_Cup_to_Odysseus.jpg",
"category": "Fantasy"
},
{
"id": "b15",
"title": "The Silent Patient",
"author": "Alex Michaelides",
"thumbnail": "https://m.media-amazon.com/images/I/81JJPDNlxSL.jpg",
"category": "Thriller"
},
{
"id": "b16",
"title": "Harry Potter and the Order of the Phonix",
"author": "J.K Rowling",
"thumbnail": "https://wp.scoopwhoop.com/wp-content/uploads/2016/10/57ee5c3a7c9988201038142a_418243985.jpg",
"category": "Thriller"
}
],
"id": "cat4"
},
{
"title": "Technology",
"books": [
{
"id": "b17",
"title": "Clean Code: A Handbook of Agile Software Craftsmanship",
"author": "Robert C. Martin",
"thumbnail": "https://m.media-amazon.com/images/I/51E2055ZGUL.jpg",
"category": "Programming"
},
{
"id": "b18",
"title": "The Pragmatic Programmer",
"author": "Andrew Hunt, David Thomas",
"thumbnail": "https://m.media-amazon.com/images/I/71VStSjZmpL._AC_UF1000,1000_QL80_.jpg",
"category": "Programming"
},
{
"id": "b19",
"title": "Design Patterns: Elements of Reusable Object-Oriented Software",
"author": "Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides",
"thumbnail": "https://m.media-amazon.com/images/I/81-k55ERXxL._AC_UF1000,1000_QL80_.jpg",
"category": "Software Engineering"
},
{
"id": "b20",
"title": "The Left Hand if Darkness",
"author": "Ursulak",
"thumbnail": "https://orion-uploads.openroadmedia.com/md_806563212117-the-bestselling-sci-fi-books-of-all-time_the-left-hand-of-darkness.jpg?w=640",
"category": "Software Engineering"
}
],
"id": "cat5"
}
],
"users": [
{
"id": "7dd3",
"username": "param",
"email": "parmjeetdell1@gmail.com",
"password": "12345",
"isAdmin": true,
"books": [
"b7"
]
},
{
"id": "3b8d",
"username": "sammer",
"email": "sammer@gmail.com",
"password": "12345",
"isAdmin": false,
"books": []
},
{
"id": "d360",
"username": "narayan ",
"email": "narayna@gmail.com",
"password": "12345",
"isAdmin": false,
"books": []
},
{
"id": "b595",
"username": "Dev-Sameer-Khan",
"email": "khansameer84233@gmail.com",
"password": "dasfasfd"
},
{
"id": "7966",
"username": "Dev-Sameer-Khan",
"email": "khansameer84233@gmail.com",
"password": "dasfasfd",
"isAdmin": false,
"books": [
"b7",
"b4"
]
},
{
"id": "8c39",
"username": "Dev Abhisekh Gupta",
"email": "guptaabhisekh84233@gmail.com",
"password": "Abisekh@2004",
"isAdmin": false,
"book": []
},
{
"id": "16f1",
"username": "Sameer Khan",
"email": "Khansameer84233@gmail.com",
"password": "",
"isAdmin": "true",
"books": []
},
{
"id": "244c",
"username": "Pata Nahi",
"email": "Pata@nahi.com",
"password": "Patanahi",
"isAdmin": false,
"book": []
}
],
"books": [
{
"id": "b1",
"title": "The Great Gatsby",
"author": "F. Scott Fitzgerald",
"publisher": "Charles Scribner's Sons",
"publication_year": 1925,
"genre": "Fiction",
"language": "English",
"pages": 180,
"isbn": "978-0743273565",
"description": "A tragic love story set in the roaring twenties, exploring themes of wealth, decadence and the American Dream.",
"available_copies": 5,
"total_copies": 8,
"book_cover_url": "https://m.media-amazon.com/images/M/MV5BMTkxNTk1ODcxNl5BMl5BanBnXkFtZTcwMDI1OTMzOQ@@._V1_FMjpg_UX1000_.jpg",
"category": "Fiction",
"location": "Shelf 1A",
"status": "Available"
},
{
"id": "b2",
"title": "Atomic Habits",
"author": "James Clear",
"publisher": "Avery",
"publication_year": 2018,
"genre": "Self-Help",
"language": "English",
"pages": 320,
"isbn": "978-0735211292",
"description": "A practical guide to forming good habits and breaking bad ones through small changes.",
"available_copies": 6,
"total_copies": 10,
"book_cover_url": "https://m.media-amazon.com/images/I/81F90H7hnML._AC_UF1000,1000_QL80_.jpg",
"category": "Self-Help",
"location": "Shelf 2B",
"status": "Available"
},
{
"id": "b3",
"title": "Sapiens: A Brief History of Humankind",
"author": "Yuval Noah Harari",
"publisher": "Harper",
"publication_year": 2011,
"genre": "History",
"language": "English",
"pages": 443,
"isbn": "978-0062316097",
"description": "An exploration of human history from early evolution to modern civilization.",
"available_copies": 4,
"total_copies": 7,
"book_cover_url": "https://m.media-amazon.com/images/I/713jIoMO3UL.jpg",
"category": "History",
"location": "Shelf 3C",
"status": "Available"
},
{
"id": "b4",
"title": "Phanstoma",
"author": "James Clear",
"publisher": "Book of the Month",
"publication_year": 2023,
"genre": "Self-Help",
"language": "English",
"pages": 280,
"isbn": "978-1234567890",
"description": "A guide to personal development and achieving your goals.",
"available_copies": 3,
"total_copies": 5,
"book_cover_url": "https://static.bookofthemonth.com/cdn-cgi/image/format=auto,width=3840/https://static.bookofthemonth.com/covers/list/Phantasma_200x300.jpg",
"category": "Self-Help",
"location": "Shelf 4D",
"status": "Available"
},
{
"id": "b5",
"title": "The Midnight Library",
"author": "Matt Haig",
"publisher": "Viking",
"publication_year": 2020,
"genre": "Fiction",
"language": "English",
"pages": 304,
"isbn": "978-0525559474",
"description": "A novel about all the choices that go into a life well lived.",
"available_copies": 4,
"total_copies": 6,
"book_cover_url": "https://m.media-amazon.com/images/I/81J6APjwxlL.jpg",
"category": "Fiction",
"location": "Shelf 5A",
"status": "Available"
},
{
"id": "b6",
"title": "Educated",
"author": "Tara Westover",
"publisher": "Random House",
"publication_year": 2018,
"genre": "Biography",
"language": "English",
"pages": 334,
"isbn": "978-0399590504",
"description": "A memoir about a woman who leaves her survivalist family and goes on to earn a PhD from Cambridge University.",
"available_copies": 7,
"total_copies": 10,
"book_cover_url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQHtcDGz9fxMSYGUNwjVLHO-Exubg1otgYwKw&s",
"category": "Biography",
"location": "Shelf 6B",
"status": "Available"
},
{
"id": "b7",
"title": "Project Hail Mary",
"author": "Andy Weir",
"publisher": "Ballantine Books",
"publication_year": 2021,
"genre": "Science Fiction",
"language": "English",
"pages": 496,
"isbn": "978-0593135204",
"description": "A lone astronaut must save humanity from extinction in this thrilling space adventure.",
"available_copies": 9,
"total_copies": 12,
"book_cover_url": "https://m.media-amazon.com/images/I/81zD9kaVW9L.jpg",
"category": "Science Fiction",
"location": "Shelf 7C",
"status": "Available"
},
{
"id": "b8",
"title": "Gone with the Wind",
"author": "Andy Weir",
"publisher": "Macmillan Publishers",
"publication_year": 1936,
"genre": "Historical Fiction",
"language": "English",
"pages": 1037,
"isbn": "978-1451635621",
"description": "A historical novel set in Georgia during the American Civil War and Reconstruction era.",
"available_copies": 6,
"total_copies": 8,
"book_cover_url": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1635768733i/34689759._UX160_.jpg",
"category": "Science Fiction",
"location": "Shelf 8D",
"status": "Available"
},
{
"id": "b9",
"title": "Becoming",
"author": "Michelle Obama",
"publisher": "Crown Publishing Group",
"publication_year": 2018,
"genre": "Biography",
"language": "English",
"pages": 448,
"isbn": "978-1524763138",
"description": "A memoir by former First Lady Michelle Obama that chronicles her life journey.",
"available_copies": 5,
"total_copies": 7,
"book_cover_url": "https://m.media-amazon.com/images/I/81KGjsBXQ7L._AC_UF1000,1000_QL80_.jpg",
"category": "Biography",
"location": "Shelf 9E",
"status": "Available"
},
{
"id": "b10",
"title": "The Alchemist",
"author": "Paulo Coelho",
"publisher": "HarperOne",
"publication_year": 1988,
"genre": "Fiction",
"language": "English",
"pages": 208,
"isbn": "978-0062315007",
"description": "A philosophical story following a young Andalusian shepherd on his journey to find treasure in Egypt.",
"available_copies": 6,
"total_copies": 10,
"book_cover_url": "https://m.media-amazon.com/images/I/61HAE8zahLL._AC_UF1000,1000_QL80_.jpg",
"category": "Fiction",
"location": "Shelf 10A",
"status": "Available"
},
{
"id": "b11",
"title": "The Subtle Art of Not Giving a F*ck",
"author": "Mark Manson",
"publisher": "HarperOne",
"publication_year": 2016,
"genre": "Self-Help",
"language": "English",
"pages": 224,
"isbn": "978-0062457714",
"description": "A counterintuitive approach to living a good life by focusing on what truly matters.",
"available_copies": 7,
"total_copies": 10,
"book_cover_url": "https://m.media-amazon.com/images/I/71QKQ9mwV7L._AC_UF1000,1000_QL80_.jpg",
"category": "Self-Help",
"location": "Shelf 11B",
"status": "Available"
},
{
"id": "b12",
"title": "In the Heart of the Sea",
"author": "Mark Manson",
"publisher": "Viking",
"publication_year": 2000,
"genre": "History",
"language": "English",
"pages": 320,
"isbn": "978-0141001821",
"description": "The tragic true story that inspired Moby-Dick, recounting the sinking of the whaleship Essex.",
"available_copies": 8,
"total_copies": 12,
"book_cover_url": "https://images3.penguinrandomhouse.com/cover/9780141001821",
"category": "Self-Help",
"location": "Shelf 12C",
"status": "Available"
},
{
"id": "b13",
"title": "Where the Crawdads Sing",
"author": "Delia Owens",
"publisher": "G.P. Putnam's Sons",
"publication_year": 2018,
"genre": "Mystery",
"language": "English",
"pages": 384,
"isbn": "978-0735219090",
"description": "A coming-of-age story about an isolated young woman who becomes a suspect in a murder investigation.",
"available_copies": 5,
"total_copies": 8,
"book_cover_url": "https://whsmith.com.au/wp-content/uploads/2022/07/Where-the-Crawdads-Sing-FTI.jpg",
"category": "Mystery",
"location": "Shelf 13A",
"status": "Available"
},
{
"id": "b14",
"title": "Circe",
"author": "Madeline Miller",
"publisher": "Little, Brown and Company",
"publication_year": 2018,
"genre": "Fantasy",
"language": "English",
"pages": 393,
"isbn": "978-0316556347",
"description": "A bold retelling of the story of Circe, the banished witch from Homer's Odyssey.",
"available_copies": 4,
"total_copies": 7,
"book_cover_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Circe_Offering_the_Cup_to_Odysseus.jpg/640px-Circe_Offering_the_Cup_to_Odysseus.jpg",
"category": "Fantasy",
"location": "Shelf 14B",
"status": "Available"
},
{
"id": "b15",
"title": "The Silent Patient",
"author": "Alex Michaelides",
"publisher": "Celadon Books",
"publication_year": 2019,
"genre": "Thriller",
"language": "English",
"pages": 336,
"isbn": "978-1250301697",
"description": "A psychological thriller about a woman's act of violence against her husband and her subsequent silence.",
"available_copies": 6,
"total_copies": 9,
"book_cover_url": "https://m.media-amazon.com/images/I/81JJPDNlxSL.jpg",
"category": "Thriller",
"location": "Shelf 15C",
"status": "Available"
},
{
"id": "b16",
"title": "Harry Potter and the Order of the Phoenix",
"author": "J.K Rowling",
"publisher": "Scholastic",
"publication_year": 2003,
"genre": "Fantasy",
"language": "English",
"pages": 870,
"isbn": "978-0439358071",
"description": "Harry's fifth year at Hogwarts as he faces challenges from both the Ministry of Magic and Lord Voldemort.",
"available_copies": 3,
"total_copies": 6,
"book_cover_url": "https://wp.scoopwhoop.com/wp-content/uploads/2016/10/57ee5c3a7c9988201038142a_418243985.jpg",
"category": "Thriller",
"location": "Shelf 16D",
"status": "Available"
},
{
"id": "b17",
"title": "Clean Code: A Handbook of Agile Software Craftsmanship",
"author": "Robert C. Martin",
"publisher": "Prentice Hall",
"publication_year": 2008,
"genre": "Technology",
"language": "English",
"pages": 464,
"isbn": "978-0132350884",
"description": "A comprehensive guide to writing clean, maintainable code and software craftsmanship principles.",
"available_copies": 5,
"total_copies": 8,
"book_cover_url": "https://m.media-amazon.com/images/I/51E2055ZGUL.jpg",
"category": "Programming",
"location": "Shelf 17A",
"status": "Available"
},
{
"id": "b18",
"title": "The Pragmatic Programmer",
"author": "Andrew Hunt, David Thomas",
"publisher": "Addison-Wesley Professional",
"publication_year": 1999,
"genre": "Technology",
"language": "English",
"pages": 352,
"isbn": "978-0201616224",
"description": "A guide to software development best practices and pragmatic programming philosophy.",
"available_copies": 4,
"total_copies": 7,
"book_cover_url": "https://m.media-amazon.com/images/I/71VStSjZmpL._AC_UF1000,1000_QL80_.jpg",
"category": "Programming",
"location": "Shelf 18B",
"status": "Available"
},
{
"id": "b19",
"title": "Design Patterns: Elements of Reusable Object-Oriented Software",
"author": "Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides",
"publisher": "Addison-Wesley Professional",
"publication_year": 1994,
"genre": "Technology",
"language": "English",
"pages": 416,
"isbn": "978-0201633610",
"description": "A seminal book on software design patterns and object-oriented programming principles.",
"available_copies": 3,
"total_copies": 6,
"book_cover_url": "https://m.media-amazon.com/images/I/81-k55ERXxL._AC_UF1000,1000_QL80_.jpg",
"category": "Software Engineering",
"location": "Shelf 19C",
"status": "Available"
},
{
"id": "b20",
"title": "The Left Hand of Darkness",
"author": "Ursula K. Le Guin",
"publisher": "Ace Books",
"publication_year": 1969,
"genre": "Science Fiction",
"language": "English",
"pages": 304,
"isbn": "978-0441478125",
"description": "A groundbreaking science fiction novel exploring gender and society on an alien world.",
"available_copies": 5,
"total_copies": 8,
"book_cover_url": "https://orion-uploads.openroadmedia.com/md_806563212117-the-bestselling-sci-fi-books-of-all-time_the-left-hand-of-darkness.jpg",
"category": "Science Fiction",
"location": "Shelf 20D",
"status": "Available"
}
]
}