The challenge
SwitchDin is an Australian energy technology company. Its in-house team of three developers planned to scale down to two, and its CTO wanted surge capability and a stronger team.
Two Angular projects were not progressing because the team was busy elsewhere. The CTO did not like surprises and wanted an assessment before any open-ended spend.
What we found
- There was no proper state management, which caused performance issues.
- Components were mixed-purpose, and platform layers were mixed with business logic.
- Unit-test coverage was weak, and there were no end-to-end tests.
What we did
Reviewed the architecture
A Google Developer Expert architect reviewed the Angular code and architecture over two weeks from May 17, 2021.
Logged every recommendation
We delivered a recommendations log and an ROI deck with a skill plan for NgRx, RxJS, Nx and clean code.
Planned the delivery
We planned a move to an Nx workspace, a separate component layer, NgRx state and team mentoring.
Compared the options
We compared a total refactor with a widget-based architecture, backed by a web-component proof of concept.
The impact
What changed for the business.
Root causes found
The review traced performance issues to the lack of proper state management.
A clear path forward
The plan set out the fixes for state management, testing and code structure.
Top client scores
SwitchDin gave an NPS of 9 in May 2021 and 10 every month from June to September 2021.
A review that grew
The engagement grew from a review into a proposal for a larger widget architecture project.