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.
- Do you have questions about how to make this application work?
- Did you get the book and have questions about any concept explained within this chapter?
- Have you found issues using updated dependencies? Don't hesitate to create an issue in this repository and post your question/problem there.
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.
You can buy the book online from these stores:
- Listing 2-1. The Challenge Class in Plain Java
- Listing 2-2. The Challenge Class Using Lombok
- Listing 2-3. An Example of a BDD Test Case Using a Given-When-Then Structure - See lines 5-19
- Listing 2-4. MockitoExtension and Mock Annotation Usage
- Listing 2-8. A Complete Unit Test with JUnit5 and Mockito
- Listing 2-9. Creating and Using a Logger with SLF4J
- Listing 2-10. Using a Logger with Lombok