Skip to content

This is a book-record-management application which uses mongo-atlas for storing the information of users and books .We can add books, find books, update info related to books, things are done on MVC architecture and it uses DTO(data- transfer object) .Similarly can add user, find users who issued books delete users, their subscription info.

Notifications You must be signed in to change notification settings

MangleshKumar1/Book-record-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

book-record-management

This is an application called book record managemnet/API

Endpoints

/users (done)

POST: Create a new user GET: Get all list of users

/users/{id} (done)

GET: Get a user by thier ID PUT: Update a user by ID DELETE: Delete a user by thier ID (Check if the user still has an issued book && is there any fine to be collected from the user)

/users/subscription-details/{id}

GET: Get user subscription details

  1. Date of Subscription
  2. Valid till ??
  3. Fine if any ??

/books

GET: Get all books POST: Add a new book

/books/{id}

GET: Get a book by id PUT: Update a book by Id

/books/issued

GET: Get all issued books here

/books/issued/withFine

GET: Get all issued books with fine

Subscription Typs

Basic (3 months) Standard (6 months) Premium (12 months)

If user has an issued book and the issued book is to be returned at 09-12-22 If user missed the date to return, then user gets a fine of Rs. 50/-

If user has an issued book and the issued book is to be returned at 09-12-22 If user missed the date to return, and the users subscription also got expired, then user need to pay a fine of 150/- (100+50)

About

This is a book-record-management application which uses mongo-atlas for storing the information of users and books .We can add books, find books, update info related to books, things are done on MVC architecture and it uses DTO(data- transfer object) .Similarly can add user, find users who issued books delete users, their subscription info.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published