Technical requirements
For instructions on how to install the tools used in this book and how to access the source code for this book, see the following:Chapter 21, Installation Instructions for macOSChapter 22, Installation Instructions for Microsoft Windows with WSL 2 and UbuntuTo access the databases manually, we will use the CLI tools provided in the Docker images used to run the databases. We will also expose the standard ports used for each database in Docker Compose, 3306
for MySQL, and 27017
for MongoDB. This will enable us to use our favorite database tools for accessing the databases in the same way as if they were running locally on our computers.The code examples in this chapter all come from the source code in $BOOK_HOME/Chapter06
.If you want to view the changes applied to the source code in this chapter, that is, see what it took to add persistence to the microservices using Spring Data, you can compare it with the source code for Chapter 5, Adding an API Description Using...