One feature, five layers: the architecture now standard in thirteen product modules
How a single architecture decision record at Censhare became the shared shape for features across the product, and why each layer can be tested on its own.
The five-layer feature architecture (view, use case, repository, service, adapter) began as an ADR. It is now the default in 13 product modules.
Because each layer can be tested on its own, the cause of a production bug is usually found within a day instead of several days. The Frontend Builder, a platform for assembling customer-specific UIs from shared components, now runs at more than ten enterprise customers.
The same discipline holds the platform together: more than thirty micro-frontends share one runtime through Import Maps, and accessibility to WCAG 2.2 AA and BFSG is part of the Definition of Done. Read the decision →







