-
Notifications
You must be signed in to change notification settings - Fork 1
/
requirment.js
82 lines (54 loc) · 1.97 KB
/
requirment.js
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
// Requirements
// We are a company that handles book publications
// Book
// ISBN, Title, Author [], Language, Pub Date, Num Page, Category[]
// Authors
// Name, Id, Books[]
// Publications
// Name, Id, Books[]
// Requirements
// ---------------------------------------------------------------------------------------
// Books
// We need an API
// GET
// to get all books ✅ 📌 Done MongoDB
// to get specific book ✅ 📌 Done MongoDB
// to get a list of books based on category✅ 📌 Done MongoDB
// to get a list of books based on author -> [Task]🔥 📕 Done MOngoDB
// POST
// New Book ✅ 📌 Done MongoDB
// PUT
// Update book details like bookTitle✅ 📌 Done MongoDB
// update/add new author✅ 📌 Done MOngoDB
// DELETE
// delete a book✅ 📌 Done MongoDB
// delete a author from a book✅ 📌 Done MongoDB
// ---------------------------------------------------------------------------------------
// Author
// We need an API
// GET
// to get all authors✅ 📌 Done MongoDB
// to get specific author [Task]🔥 📕 Done MongoDB
// to get a list of authors based on a book. ✅ 📕 Done MongoDB
// POST
// New Author ✅ 📌 Done MongoDB
// PUT
// update Author name using id [Task] 🔥 Done MongoDB
// DELETE
// Delete an author [Task] 🔥🚀 Done MongoDB
// ---------------------------------------------------------------------------------------
// Publication
// We need an API
// GET
// to get all publications ✅ 📕 Done MongoDB
// to get specific publication [Task]🔥 📕 Done MongoDB
// to get a list of publications based on a book. [Task]🔥 📕 Done MongoDB
// POST
// Add new publication [task] 🔥 📕 Done MongoDB
// PUT
// update publication name using id [Task] 🔥 Done MongoDB
// update/add new book to a publication✅ Done MongoDB
// DELETE
// delete a book from publication ✅ Done MongoDB
// delete a publication [Task] 🔥🚀 Done MongoDB
// Add mongoose validation to All the models [Task] 🔥 Done 🙌