forked from AdithyakrishnaV/BookAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.js
77 lines (51 loc) · 1.29 KB
/
requirements.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
// Requirements for our Project
// We are a book management company
// Books
// ISBN, title, pub date, langauge, num page, author[], category[]
// Authors
// id, name, books[]
// Publications
// id, name, books[]
// What are all the APIs that we need.....
//GET
// Books
// We need an API
// to get all books ✅
// to get specific books✅
// to get list of books based on category✅
// to get list of books based on languages [task]✅
//POST ->to send data
//Add new book✅
//PUT -> update
//Update book title ✅
//Add / update new author✅
//DELETE
//Delete a book✅
//Delete an author from a book✅
// Authors
//GET
// We need an api
// to get all authors✅
// to get specific authors [task]✅
// to get list of authors based on books ✅
// POST
// Add new author✅
// PUT
// Update Author name using it's id [Task] ✅
// DELETE
// Delete an author
// Publications
//GET
// we need an API
// to get all publication ✅
// to get specific publication [task] ✅
// to get list of publication based on book [task] ✅
// POST
// Add new publications [Task] ✅
// PUT
// UPdate the publication name using it's id [Task] 🚀
// update/add books to publications✅
// DELETE
// Delete the publication✅
// delete a book from publication.✅
//How the server serves the request