What is Hexagonal Architecture?
Hexagonal Architecture organizes an application around a business core, separating it from details such as user interfaces, databases and external services. The core connects to those parts through ports and adapters, which gives the architecture its other name: Ports & Adapters.
The aim is to keep business rules stable when external technology changes. The hexagon illustrates the application's boundary; it does not require six components.
