Back to Browse

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

2.0K views
Jul 28, 2023
1:02:38

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-app-example 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

Download

1 formats

Video Formats

360pmp490.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

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