For more detail, please visit:
In this tutorial, we're gonna build a Spring Boot Rest CRUD API example with Maven that use Spring Data JPA to interact with H2 database. You'll know:
- How to configure Spring Data, JPA, Hibernate to work with Database
- How to define Data Models and Repository interfaces
- Way to create Spring Rest Controller to process HTTP requests
- Way to use Spring Data JPA to interact with H2 Database
Front-end that works well with this Back-end
Angular 8 Client / Angular 10 Client / Angular 11 Client / Angular 12 Client
More Practice:
Spring Boot Pagination & Filter example | Spring JPA, Pageable
Spring Data JPA Sort/Order by multiple Columns | Spring Boot
Exception Handling:
Other databases:
Spring Boot JPA + PostgreSQL - Building Rest CRUD API example
Security:
Spring Boot + Spring Security JWT Authentication & Authorization
Run both Back-end & Front-end in one place:
mvn spring-boot:run