A full-stack Library Management System built using Spring Boot, JWT Authentication, MySQL, and Vanilla JavaScript.
- Register & Login (JWT Authentication)
- Search books
- Issue books
- Return books
- View borrowing history
- Add/Delete books
- View all transactions
- Monitor issued & returned books
- Library statistics dashboard
Backend
- Java
- Spring Boot
- Spring Security
- JWT
- JPA / Hibernate
- MySQL
Frontend
- HTML
- CSS
- JavaScript (Vanilla)
- Stateless JWT authentication
- Role-based access control (ADMIN / USER)
- Book Issue & Return Workflow
- Fine Calculation
- Transaction History
- Admin Analytics Dashboard
- Advanced Book Search
Backend:
Frontend:
Open login.html using Live Server.
-
Install Java, Maven and MySQL
-
Create database:
CREATE DATABASE library_db;
-
Update application.properties with your MySQL password
-
Run backend:
mvn spring-boot:run
-
Open frontend using Live Server:
login.html
Sanket Pramanik