This project is a Spring Boot application demonstrating CRUD (Create, Read, Update, Delete) operations on a Book entity.
It shows how to build RESTful APIs using Spring Boot, Spring Data JPA, and an in-memory H2 database.
- Create a new book record
- Read all books or a single book by ID
- Update existing book details
- Delete a book record
- RESTful API design following best practices
- Uses Spring Boot, JPA, and H2 database for simplicity
- Backend Framework: Spring Boot
- Database: H2 (in-memory) / MySQL (optional)
- Persistence: Spring Data JPA
- Build Tool: Maven
- Java Version: 17+ (can adjust if needed)
src/main/java/com/example/bookcrud
βββ controller # REST controllers
βββ entity # JPA entities
βββ repository # Data repositories
βββ service # Business logic layer
βββ BookApplication.java # Main class




