In this chapter, we will start writing pieces of code that are truly related to our project. At the end of this chapter, we will have a working authentication feature backed by an in-memory database.
Port and Adapter Architecture
Before writing any code, it’s worthwile to think through the architecture first. It helps to give us a big picture of how the application will be laid out. It guides us to structure the interaction between components so that we can make sense of the application as a whole.
The architecture pattern that we want to follow is Port and Adapter Architecture ...