In this chapter, we composed a few aggregates and performed operations on them via the aggregate root. We also evaluated possible persistence methods for aggregates and learned about the concept of the repository—a place where the aggregate state is stored.
Now, it is time to find a way to store our domain objects in a database and see our application working for the first time. In the next chapter, we will take a deep dive into the topic of aggregate persistence.