Server>> Storing certain book data >> User Register >>Subscriber
This is a book record management API server for the library system or management of certain records or books.
Fine System: User: 02/01/24-02/03/24 03/03/24 => Rs 50
3 months subscription (Basic) 6 months subscription (Standard) 12 months subscription (Premium)
If the subscription type is standard && if the subscription date id 02/01/2024 => then subscription valid till 02/06/2024
within subscription date >> if we miss the renewal >> 50/- day Subscription date is also missed >> also missed the renewal >> 100+50/- day
POST: Create a new user GET: Get all the user info
GET: Get a user by id PUT: Update a user by their ID DELETE: Delete the user by ID (check if he/she still have an issued book) && (is there any fine to be paid)
GET: Get user subscription details >> Date of Subscription >> Valid till >> Fine?
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 issued boooks
GET: Get all the issued books with their fine