Domain Layer

Learn more about the domain layer, through the implementation of an example.

To comprehend how software may be implemented, based on hexagonal architecture, let us review an example related to the processes that occur in a restaurant.

Example definition

This restaurant wants to allow a customer to order something through its website. The website consumes REST APIs to execute the business logic. Therefore, we have to implement a microservice that exposes the functionality to create an order. This use case displays the ...