I made a Backend Application to perform operation like Issue book & Return book from library , created RestFul APIs Service Using java, SpringBoot,postman for Library Management Application. In this project user can Issue book from the Library and Return book to library if user return book after due date application generate fine.
- Java
- Spring Boot
- Maven
- Postman
- Lombok
- MySql
- SpringData Jpa
- Hibernate
- User Module
- Book Module
- User & Book validation
- Pre filled data in the data base
- User can Issue Book from the library only if it contains less than 5 books.
- User can return the book to the library if user return book after due date application raise fine amount to user.
- Before running the API server, you should update the database config inside the application.properties file.
- Update the port number, username and password as per your local database config.
server.port=9090
spring.datasource.url=jdbc:mysql://localhost:3306/libraryManagementApplication
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
- General API
https://localhost:8888/
- Issue Book API http://localhost:9090/bookIssue/
- Return Book API http://localhost:9090/bookReturn/{userId}/{bookId}
Following pictures will help to understand flow of the Application and API's of Library Management Application
- Issue Book API http://localhost:9090/bookIssue/
- Return Book API http://localhost:9090/bookReturn/{userId}/{bookId}