https://documenter.getpostman.com/view/23950566/2s847LLAX1
✅ => DONE
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 ✅ (check if he/she still has an issued book) (is there any fine to be paid)
GET: Get user subscription details ✅
- Date of subscription ✅
- Valid till ✅
- Fine if any ✅
GET: Get all books ✅
POST: Create/Add a new book ✅
GET: Get a book by id ✅
PUT: Update a book by id ✅
GET: Get all issued books ✅
GET: Get all issued books with fine ✅
Basic (3 months) Standard (6 months) Premium (12 months)
NOTE: dates will be in format mm/dd/yyyy
If the subscription date is 01/01/22 and Subscription type is Standard then it will be valid till date will be 01/06/22
If he/She has an issued book he did not return within return date, then he gets a fine of $69
If he/she has an issued book and he misses the date of return, and his subscription also expires, then he will get a fine of $169