This project is a Spring Boot implementation of backend APIs for a Library Management System. It provides RESTful APIs that allow users to manage books and perform basic library operations such as issuing and returning books.
- User Management: Users can register, log in, and access the system using authentication.
- Book Management: Admin can add, update, and delete books from the system.
- Book Issue: Users can borrow books from the library.
- Book Return: Users can return borrowed books.
- JWT Authentication: Secure API access using JSON Web Token (JWT).
- Java 17
- Spring Boot
- Spring MVC
- Spring Data JPA
- MySQL (as the database)
- Maven (for dependency management)
To set up the project on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/VEERA14GPV/Library-Management-System.git- Navigate to the project directory:
cd Library-Management-System-
Configure the database settings in
application.propertiesfile. -
Build the project using Maven:
mvn clean install- Run the application:
mvn spring-boot:runThe application will be accessible at:
http://localhost:8080
This project uses MySQL as the database. Follow these steps:
- Install MySQL on your local machine
- Create a database (update name in
application.properties) - Configure username and password
- controller → Handles API requests
- service → Business logic
- repository → Database operations
- entity → Database models
- security → JWT authentication
- util → Helper classes
- Spring Boot
- MySQL
Contributions are welcome. If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.