-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.js
40 lines (29 loc) · 948 Bytes
/
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
//Requirement for our project
//We are a book management company
//BOOKS
//ISBN, title, pub date, language, num page, 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 -DONE
//To get specific book -DONE
//To get a list of books based on category -DONE
//To get a list of books based on languages - YOUR TASK -DONE
//2. AUTHORS
//We need an API :-
//To get all the authors -DONE
//To get a specific author based on id -YOUR TASK -DONE
//To get a list of authors based on books -DONE
//3. PUBLICATIONS
//We need an API :-
//To get all the publications - DONE
//To get a specific publication - YOUR TASK -DONE
//To get a list of publications based on a book - YOUR TASK -DONE
//POST
//1.ADD NEW BOOK -DONE
//2.ADD NEW PUBLICATION -DONE
//3.ADD NEW AUTHOR -DONE