-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirements.txt
50 lines (35 loc) · 1.16 KB
/
requirements.txt
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
REQUIREMENTS FOR OUR PROJECT
WE ARE A BOOK MANAGEMENT COMPANY
BOOKS
ISBN(id of the book) , title , publication date , no. of pages , author[] , category[]
AUTHORS
id, name, books[]
PUBLICATIONS
id, name, books[]
WE HAVE TO DESIGN AND CODE AN API OVER THIS
1. BOOKS
we need an API :-
to get all the books
to get specific books
to get a list of books based on category
to get a list of books based on language
2. AUTHORS
we need an API :-
to get all the authors
to get a specifc author
to get alist of authors based on books
3.PUBLICATION
we need an API :-
to get all the publications
to get a specific publication
to get a list of publication based on book
------ POST REQUEST -------
1. ADD NEW BOOK
2. ADD NEW PUBLICATION
3. ADD NEW AUTHOR
----------- PUT ------------
UPDATE BOOK DETAILS IF AUTHOR IS CHANGED
----------- DELETE -----------
1. DELETE A BOOK
2. DELETE AUTHOR FROM BOOK
3. DELETE AUTHOR FORM BOOK AND RELATED BOOK FROM AUTHOR.