• Create Student
○ Create Card
• Update Mobile Number of Student
• Get Student Details
• Create Author
• Get Author details
• Create Book
• Issue a book
○ Check whether book is Available or not + Is Limit reached or not
○ Mark book as Unavailable
○ Link the book with card
○ Add transaction entry in the table
• Return a book
○ Mark book as available
○ Unlink the book with card
○ Calculate fine if any
○ Add transaction entry in the table
• Get Transactions info
localhost:8080/student/add
{
"name": "String",
"country": "String",
"age": int,
"mobileNumber": "String",
"email": "String"
}
localhost:8080/student/update-mobNo
localhost:8080/student/get-user?email=RequestParam
localhost:8080/author/add
{
"name": "String",
"country": "String",
"age": int,
"rating": double
}
localhost:8080/book/add
{
"name": "String",
"authorId": int,
"pages": int,
"genre": "ENUM Type"
}
localhost:8080/author/get-author?authorId=RequestParam
localhost:8080/transaction/issueBook
{
"bookId": int,
"cardId": int
}
localhost:8080/transaction/returnBook?cardId=int&bookId=int