A backend mini project built using Spring Boot and Spring JDBC that demonstrates CRUD operations with a layered architecture and H2 Database.
- ➕ Add a Book
- 📖 View All Books
- 🔍 Find Book by ID
- ✏️ Update Book Details
- ❌ Delete Book
- 👨💻 Search Books by Author
- 📘 Search Book by Title
- 📊 Count Total Books
- 🔤 Sort Books by Title
- ♻️ Reusable RowMapper Implementation
- Java 21
- Spring Boot
- Spring JDBC
- H2 Database
- Maven
- IntelliJ IDEA
src
├── model
│ └── Book.java
│
├── repo
│ └── BookRepository.java
│
├── service
│ └── BookService.java
│
├── LibraryManagementApplication.java
│
└── resources
├── application.properties
├── schema.sql
└── data.sql
- Create Book
- Read All Books
- Read Book by ID
- Update Book
- Delete Book
- Search by Author
- Search by Title
- Count Books
- Sort Books by Title
- Spring IoC Container
- Dependency Injection
- JdbcTemplate
- RowMapper
- SQL Queries
- Layered Architecture
- H2 Database Integration
- Clone the repository.
- Open the project in IntelliJ IDEA.
- Build the project using Maven.
- Run
LibraryManagementApplication.java. - View the console output.
Nabin Gayak H
GitHub: https://github.com/NABINGAYAKH