Course overview

Spring Boot Lab – Exercises and Mini REST Projects with Spring Boot

Course content29 lessons
Video Management System 1/10: Building the Database with a One-To-Many Relationship Video Management System 1/10: Building the Database with a One-To-Many Relationship Lesson 1 Video Management System 2/10: Project Configuration and application.properties Deep Dive Video Management System 2/10: Project Configuration and application.properties Deep Dive Lesson 2 Video Management System 3/10: Building Models and JPA One-To-Many Mapping Video Management System 3/10: Building Models and JPA One-To-Many Mapping Lesson 3 Video Management System 4/10: JPA One-To-Many Relationship Mapping - Part 2 Video Management System 4/10: JPA One-To-Many Relationship Mapping - Part 2 Lesson 4 Video Management System 5/10: Introduction to Java Records and Generating Response DTOs Video Management System 5/10: Introduction to Java Records and Generating Response DTOs Lesson 5 Video Management System 6/10: Request Records and the Importance of Validation Video Management System 6/10: Request Records and the Importance of Validation Lesson 6 Video Management System 7/10: Building Repository, Service and Controller Video Management System 7/10: Building Repository, Service and Controller Lesson 7 Video Management System 8/10: The findAll Method and a Deep Dive into @Transactional Video Management System 8/10: The findAll Method and a Deep Dive into @Transactional Lesson 8 Video Management System 9/10: Adding a Playlist via the POST Endpoint Video Management System 9/10: Adding a Playlist via the POST Endpoint Lesson 9 Video Management System 10/10: Adding a Video to a Playlist via POST Video Management System 10/10: Adding a Video to a Playlist via POST Lesson 10 Food API 1/19: Project Introduction and Database Creation (Part 1) Food API 1/19: Project Introduction and Database Creation (Part 1) Lesson 11 Food API 2/19: Database Creation and Project CRUD Structure (Part 2) Food API 2/19: Database Creation and Project CRUD Structure (Part 2) Lesson 12 Food API 3/19: Entity Mapping, JPA Updatable and Nullable Annotations, and DTOs Food API 3/19: Entity Mapping, JPA Updatable and Nullable Annotations, and DTOs Lesson 13 Food API 4/19: Creating a Custom Repository and Connecting to MySQL Food API 4/19: Creating a Custom Repository and Connecting to MySQL Lesson 14 Food API 5/19: Implementing the Service Layer and the @Transactional Annotation Food API 5/19: Implementing the Service Layer and the @Transactional Annotation Lesson 15 Food API 6/19: Introduction to DTOs and Layer Separation Food API 6/19: Introduction to DTOs and Layer Separation Lesson 16 Food API 7/19: Constructor-Based Dependency Injection, No @Autowired, and Controller Food API 7/19: Constructor-Based Dependency Injection, No @Autowired, and Controller Lesson 17 Food API 8/19: Building the Entity-to-DTO Mapper Food API 8/19: Building the Entity-to-DTO Mapper Lesson 18 Food API 9/19: Object Lookup and Building the ResponseEntity Food API 9/19: Object Lookup and Building the ResponseEntity Lesson 19 Food API 10/19: GET Endpoint for UUID Search Using Optional Food API 10/19: GET Endpoint for UUID Search Using Optional Lesson 20 Food API 11/19: POST Endpoint to Insert a New Item Food API 11/19: POST Endpoint to Insert a New Item Lesson 21 Food API 12/19: DELETE Endpoint for Item Removal with 204 Response Food API 12/19: DELETE Endpoint for Item Removal with 204 Response Lesson 22 Food API 13/19: Updating Data with PUT and UUID Food API 13/19: Updating Data with PUT and UUID Lesson 23 Food API 14/19: Frontend Initialization with HTML, Bootstrap and JavaScript Food API 14/19: Frontend Initialization with HTML, Bootstrap and JavaScript Lesson 24 Food API 15/19: Solving CORS Policy Issues in Spring Boot with Bean Configuration Food API 15/19: Solving CORS Policy Issues in Spring Boot with Bean Configuration Lesson 25 Food API 16/19: Displaying Data in a Table with Fetch and Handling the Insert Modal Food API 16/19: Displaying Data in a Table with Fetch and Handling the Insert Modal Lesson 26 Food API 17/19: Inserting Data with Fetch POST from an HTML Modal Food API 17/19: Inserting Data with Fetch POST from an HTML Modal Lesson 27 Food API 18/19: Delete with Fetch DELETE and Update with PUT from Modal (Part 1/2) Food API 18/19: Delete with Fetch DELETE and Update with PUT from Modal (Part 1/2) Lesson 28 Food API 19/19: Completing Delete and Update with Fetch DELETE and PUT from Modal Food API 19/19: Completing Delete and Update with Fetch DELETE and PUT from Modal Lesson 29
Previous
Up next Next
Current lesson | Lesson 16/29

Food API 6/19: Introduction to DTOs and Layer Separation

Spring Boot Lab – Exercises and Mini REST Projects with Spring Boot 0%
I'll explain what DTOs are and why they're essential in a Spring Boot REST API: they protect the domain, simplify client-server communication, and make the code testable. We'll define them as Java Records.
Instructor
G Giovanni Pace
Up next Food API 7/19: Constructor-Based Dependency Injection, No @Autowired, and Controller