https://documenter.getpostman.com/view/23161233/2s93z6cied
POST: Create a new user✅ GET: Get all list of users✅
GET: Get a user by ID✅ PUT: Update a user by ID✅ DELETE: Delete a user by ID (cheack if there is any issued book) (is there any fine to be paid)✅
GET: get the subscription details✅
- if subscription Expired
- days Left For Subscription Expiration
- subscription Expire Fine
- late Books Return_ in Days
- late Books Return Fine
- totalFine
GET: get all the books✅ POST: create a new book✅
GET: get a book by id✅ PUT: update a book by id✅
GET: get a book by name✅
GET: get all the issued books✅
GET: get all issued books with fine
- issuedBy_name:{user name}
- issuedBy_surname: {user surname}
- issuedDate,
- fineForLateReturn:{true/false}
- fineForSubscriptionExpiry:{true/false}
Basic (3 months) Standard(6 months) Premium (12 months)
(if a user did not return issued book within his subscription period then subscription expiration fine will be applied)
(if a user did not return issued book within specified return date of that particular book then after the return date fine of Rs. 5 will be applied each day untill the user returns the book )
date format MM/DD/YYYYY, issuedDate: 04/01/2023, returnDate: 05/01/2023, subscriptionType: Basic, subscriptionDate: 02/01/2023
subscriptionExpired: true, daysLeftForSubscriptionExpiration: 0, subscriptionExpireFine: 100, lateBooksReturn_inDays: 54, lateBooksReturnFine: 270, totalFine: 370