Description
In this course, you will learn:
- About technologies such as Spring Boot, Spring Data JPA, and Spring Data REST, and see how they all come together into smart and elegant solutions.
Syllabus:
- Introduction
- Build a microservice with Spring Boot
- Using the exercise files
1. Create a Spring Boot Microservice
- Introduction to Spring Initialzr
- Project setup
- Build, deploy, and launch the microservice
2. Leverage Spring Data JPA Repository Interfaces
- The domain model
- The JPA entities
- Declare Spring Data JPA repository interfaces
- Spring Data JPA repository dependency injection
- Invoking the Spring Data JPA repositories
- Introduction to Spring Data query methods
3. Expose RESTful APIs with Spring Data REST
- What is a hypermedia-driven RESTful API?
- Creating APIs with Spring Data REST
- Explore the /search resource
- Paging and sorting
- Controlling API exposure
- HAL Browser
4. Expose RESTful APIs with Spring MVC
- Choosing the right framework
- Declaring a new RestController
- Create RestController HTTP POST method
- Create RestController HTTP GET methods
- Create RestController HTTP PUT, PATCH, and DELETE methods
- Paging and sorting DTOs
5. Pivot to a MongoDB NoSQL Data Source
- Introduction to MongoDB
- Spring Data MongoDB documents
- Spring Data MongoDB repositories
- Spring Data MongoDB microservice