Book-Microservices-v3 / chapter03

Learn Microservices with SpringBoot 3 (3rd edition) - Chapter 3
2 stars 2 forks source link
architecture aspectj auto-configuration bdd domain-driven-design jakartaee10 java java-17 learn-microservices microservices mockito modular-monolith monolith-first spring-boot-3 tdd

Learn Microservices with Spring Boot 3 (3rd edition) - Chapter 3

This repository contains the source code of the practical use case described in the book Learn Microservices with Spring Boot 3 (3rd Edition) . The book follows a pragmatic approach to building a Microservice Architecture. You start with a small monolith and examine the pros and cons that come with a move to microservices.

Chapter 3 version

In Chapter 3, the goal is to build a Spring Boot application according to good practices:

The next figure shows the status of the Multiplication application by the end of the Chapter, as it's also included in this repository.

Multiplication application - Logical View - Chapter 3

There are two functional domains included in this first application: Users, and Challenges. See the figure below.

Multiplication application - Domains

Running the app

Note: You need to use JDK version 17 to run this project.

To start the Spring Boot application, you can use the command line with the included Maven wrapper:

$ ./mvnw spring-boot:run

Questions

About the book

Are you interested in building a microservice architecture from scratch? You'll face all the challenges of designing and implementing a distributed system one by one, and will be able to evaluate if it's the best choice for your project.

Purchase

You can buy the book online from these stores:

Source code by chapter (all repositories are available on Github)

Extra chapters: