This is a book record management API Backend for the management of records and books
https://documenter.getpostman.com/view/23030920/VUr1GCTH
✅: means completed this task
POST: Create a new user ✅ GET: GET all list of users ✅
example: /users/1, /users/2
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 the books ✅
POST: Create/Add a new book ✅
GET: GET a book by id ✅
PUT: Update a book by id ✅
GET: Get all the issued books ✅
GET: Get all the books with fine ✅
Basic (3 months)
Standard (6 months)
Premium (12 months)
Dates will be in format mm/dd/yyy
If the subscription date is 08/01/22
and subscription type is standard
the valid till date will be 02/01/23
If he has issued book and the issued is to be returned at 01/01/23 and he missed the date of return, then he gets a fine of Rs. 100/-
If he has issued book and the issued is to be returned at 01/01/23 if he missed the date of return, and his subscription also expires, then he will get a fine of Rs. 200/-