Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Creating Spring Boot Microservices

Creating Spring Boot Microservices

3h 16mIntermediate2024-06-17

Authors

Mary Ellen Bowman

Mary Ellen Bowman

25+ years of full life-cycle software development experience

Course details

If you’re looking for a practical introduction on creating Spring Boot microservices, this course was designed just for you. Join instructor and software developer Mary Ellen Bowman as she provides a skills-based, intermediate-level overview on how to create microservices using the power of Spring Boot 3. Along the way, discover several other related technologies and frameworks such as Spring Data, Spring Data REST, Spring MVC, JUnit, Mockito, SpringBootTest, Docker, MongoDB, Spring Security, and Spring Cloud.

Skills covered

Spring BootSoftware ArchitectureWeb Development ToolsWeb DevelopmentOpen SourceSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Build a RESTful Spring Boot microservice
  • 02 - What you should know
  • 03 - How to use the exercise files

1. Spring Framework Introduction

  • 04 - Inversion of control pattern
  • 05 - Spring ApplicationContext and Spring Beans
  • 06 - Spring autowiring annotations
  • 07 - Challenge
  • 08 - Solution

2. Create a Spring Boot Microservice

  • 09 - Introduction to Spring Initializr
  • 10 - Project setup
  • 11 - Build, deploy, and launch the microservice
  • 12 - Challenge - Add the Actuator dependency
  • 13 - Solution - Add the Actuator dependency

3. Leverage Spring-Data-JPA Repository Interfaces

  • 14 - The domain model
  • 15 - The persistence entities
  • 16 - Declare JPA repositories
  • 17 - Spring Data JPA repository dependency injection
  • 18 - Invoking the repositories
  • 19 - Introduction to Spring Data query methods
  • 20 - Challenge - Create a JPQL query method
  • 21 - Solution - Create a JPQL query method

4. Expose RESTful API's with Spring Data REST

  • 22 - Create APIs with Spring Data REST
  • 23 - Mapping API endpoints to repositories
  • 24 - Override default behavior
  • 25 - Swagger UI
  • 26 - Challenge - Modify the URL repository keyword
  • 27 - Solution - Modify the URL repository keyword

5. Expose RESTful API's with Spring MVC

  • 28 - Choosing the right framework
  • 29 - Declaring a new RestController
  • 30 - Create the RestController HTTP POST endpoint
  • 31 - Create the RestController HTTP GET endpoint
  • 32 - Create the RestController HTTP PUT, PATCH, and DELETE endpoints
  • 33 - Challenge - Add a PATCH endpoint
  • 34 - Solution - Add a PATCH endpoint

6. Best Practices

  • 35 - Global exception handling
  • 36 - Transaction rollback
  • 37 - Add a runtime logger
  • 38 - JUnit, Mockito, and SpringBootTest
  • 39 - API documentation

7. Dockerized Microservices and Databases

  • 40 - Why Docker
  • 41 - Dockerizing a microservice
  • 42 - Spring Boot Docker Compose
  • 43 - Database versioning with Flyway migrate

8. Create a RESTful MongoDB Microservice

  • 44 - Use cases for an image microservice
  • 45 - Challenge - Create the Spring Boot MongoDB project
  • 46 - Solution - Create the Spring Boot MongoDB project
  • 47 - Image file upload microservice
  • 48 - Spring Data MongoDB documents and repositories

9. Create an API Gateway with Spring Cloud

  • 49 - Use cases for an API gateway microservice
  • 50 - Routing to the JPA microservice
  • 51 - Routing to the MongoDB microservice
  • 52 - Add Spring Security to the gateway
  • 53 - Orchestrate with Docker Compose
  • 54 - Cleaning up the workspace

Conclusion

  • 55 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal