REST API using Spring Boot 3.0 With Java Record JPA, Validator, MapStruct, H2, Postman, Lombok

Опубликовано: 28 Июль 2023
на канале: Java Master
1,497
42

In this video, we build CRUD Rest Api using Spring Boot 3 with Gradle.
Technologies and frameworks we use: Java 17, Spring Data JPA, MapStruct, Java Record, Filter, H2
The source code can be found here: https://github.com/caligula95/crud-ap...

00:00 - Intro
00:30 - Generate Spring Boot Project
03:03 - Entity classes
08:31 - Spring Repository Interfaces
09:25 - Service Layer
13:30 - Mapstruct Interfaces
16:32 - Java Record Explanation
20:00 - Validation on Java Record Fields
23:18 - Custom Mapstruct Mapping
29:40 - Service Implementation
36:45 - Rest Controller
41:26 - Application Run and Debug
44:08 - Invocation of Endpoints using Postman
48:00 - ControllerAdvisor implementation
56:50 - LoggingFilter implementation
01:00:00 - Initial SQL Scripts setup