File tree Expand file tree Collapse file tree 3 files changed +73
-1
lines changed
Expand file tree Collapse file tree 3 files changed +73
-1
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Book Library Application
2+
3+ ## Requirements
4+
5+ ### Roles & Permissions
6+
7+ For simplicity of this app, lets number of roles limited to only following ones
8+
9+ 1 . User
10+ 2 . Admin
11+
12+ The Admin can
13+
14+ 1 . login to the system
15+ 2 . Add the book information into library and associated copies of them
16+ 3 . create accounts for user and set membership period for them
17+ 4 . can deactivate users
18+
19+ The User Can
20+
21+ 1 . Login
22+ 2 . check his profile details
23+ 3 . change password
24+ 4 . borrow a book
25+
26+ ### Entities in the system
27+
28+ ![ BookLibVersion-1] ( ../images/BookLibDb.jpg )
29+
30+ # API
31+
32+ Api prefix => 'api/v1/
33+
34+ Auth
35+
36+ - POST
37+ - auth/login/
38+ - PUT
39+ - auth/reset-password/
40+
41+ Users
42+
43+ - GET
44+ - users?limit={}&&offset={}&&sort-by={}
45+ - users/{id}
46+ - POST
47+ - users/
48+ - DELETE
49+ - users/
50+
51+ Books
52+
53+ - POST
54+ - books/
55+ - GET
56+ - books?limit={}&&offset={}&&sort-by={}
57+ - books/{id}
58+
59+ BooksCopy
60+
61+ - POST
62+ - books-copy/
63+ - GET
64+ - books-copy?limit={}&&offset={}&&sort-by={}&&borrowerid={}
65+ - books-copy/{id}
66+
67+ Authors
68+
69+ - POST
70+ - authors/
71+ - GET
72+ - authors?limit={}&&offset={}&&sort-by={}
73+ - authors/{id}
You can’t perform that action at this time.
0 commit comments