Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 790 Bytes

File metadata and controls

37 lines (21 loc) · 790 Bytes

ADMIN APP

Book Model

User Model

/users/ -- list users

BookUser Model

/book-users/ -- list of users and the books they've borrowed

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

========================================= CLIENT APP

User Model

Book Model

/books -- list all books /books/:id -- get a single book by its ID /books?publisher=publisher&category=category -- filter books by category or publisher /books/id/borrow -- borrow a book and specify number of days

=========================================