API development best practices
In this section, you will learn how to create services based on good practices such as REST APIs and Domain-Driven Design (DDD) in order to make your APIs easier to understand and use and to facilitate discussions within your organization.
An overview of DDD
DDD is a concept that allows us to structure our services so that they align with our business domain. A detailed understanding of how to implement DDD within our organization requires a lot of experience, both in developing services and in business domains. In this section, we will briefly summarize the different integrated concepts within DDD and how they relate to each other. This will give us an initial baseline understanding of what DDD is and what its benefits are.
DDD is separated into two key concepts, tactical design, which pertains to structuring at the code level, and strategic design, which is about structuring at the organizational level.
Within tactical design, we have the...