The code for this chapter can be found in the Chapter08 folder of the book repository on GitHub. There are three subfolders there. One is called before, and the code there can be used to follow the course of this chapter as it goes further with the persistence implementation. Two other folders, ravendb and ef-core, contain the final code that implements the aggregate persistence using the RavenDB document database and the Entity Framework Core and PostgreSQL.
You will need to use docker-compose to run the infrastructure. This implies that you need to have Docker installed, as well. Follow the Docker CE installation guidelines at https://docs.docker.com/install/ and the Docker Compose installation guidelines at https://docs.docker.com/compose/install/.
If you have not run Docker on your machine before, or if you did it a while ago, you might need to log...