Closed Jafet160 closed 10 months ago
In terms of this feature, the domain is the geographical data represented by the mock pins and the map. A Location Route was created to handle the interactions of the data and the creation of the Location Schema defines the structure of a location based on our domain.
The creation of a "Pin" component could have also worked as a domain entity to encapsulate the properties (coordinates, label) and behaviors (show, hide) of a pin.
This feature involves creating mock pins and rendering them on a map, making sure to isolate the domain by separating the domain layer from the user interface, application, and infrastructure layers.