This document contains guidelines on implementing Hexagonal Architecture to a new Solutions Team project.
- Understand the business requirements. This is very important because it gives us context on the solution we are trying to build.
- Validate our understanding by creating a document containing a high-level application overview. Usually we use
README.md
file for this. - Write down the expected use cases for the project. It would be better if we can also create use case diagrams when writing them.
- Write API specification for the project based on the use cases we wrote in
step 3
. - Spot out our
Core
components following the guidelines mentioned in here. - While implementing the code, make any necessary adjustments to the docs created in previous steps. This is to make our docs stay up to date.
- Create necessary tests for our project. Remember, our objective is not to get
100%
coverage but to cover the most essential scenarios in our project. - Dockerize our project so it can be run easily by other team members. Also create
Makefile
to simplify the process of running it. - Open a pull request & ask review from your teammates.