A full-stack Library Management System built with Java, Spring Boot, Spring Security, Thymeleaf, JDBC, and MySQL.
The application provides a secure, role-based platform for managing books, librarians, and library operations. It follows the MVC architecture and demonstrates enterprise-level backend development practices using Spring Boot.
- Secure Admin Login
- Dashboard
- Add Librarian
- View Librarians
- Update Librarian Details
- Delete Librarian
- View Profile
- Secure Login
- Dashboard
- Add Books
- Update Books
- Delete Books
- Search Books
- View Book Details
- View Profile
- Issue Books
- Return Books
- Manage Book Records
- Export Data to Excel
- BCrypt Password Encryption
- Role-Based Authentication using Spring Security
| Technology | Description |
|---|---|
| Java | Programming Language |
| Spring Boot | Backend Framework |
| Spring Security | Authentication & Authorization |
| Thymeleaf | Server-side Templating |
| JDBC | Database Connectivity |
| MySQL | Relational Database |
| Maven | Build Tool |
| Bootstrap 5 | Responsive UI |
| Apache POI | Excel Export |
Browser
│
▼
Spring Boot MVC
│
▼
Controllers
│
▼
Services
│
▼
Repositories (JDBC)
│
▼
MySQL Database
LibraryManagementSystem
│
├── src
│ ├── main
│ │ ├── java
│ │ └── resources
│ │ ├── static
│ │ ├── templates
│ │ ├── application.properties
│ │ ├── schema.sql
│ │ └── data.sql
│ │
│ └── test
│
├── pom.xml
├── mvnw
└── README.md
git clone https://github.com/<your-username>/Library-management-system.gitcd Library-management-system./mvnw spring-boot:runOpen:
http://localhost:8081
- Create a MySQL database.
- Update
application.propertieswith your database credentials. - Run the application.
- Spring Boot will initialize the schema and sample data automatically.
The application uses:
- Spring Security
- BCrypt Password Encryption
- Role-Based Access Control
- REST API Integration
- JWT Authentication
- Email Notifications
- Book Reservation System
- Fine Management
- Docker Support
- Unit & Integration Tests
- CI/CD Pipeline
Sudhir Sahoo
Java Backend Developer
- Java
- Spring Boot
- Spring Security
- MySQL
- REST APIs
- Microservices
⭐ If you found this project useful, consider giving it a star!






