The challenge
The client is a global electronic test and measurement company. Its internal application tracks R&D projects, such as new product introductions, and who works on them. A small in-house team of three full-stack developers and a project manager builds and runs it.
The Angular app had grown into one giant module, and the login page took about five seconds to load. The team wanted to modernize the front end and the API and to write its own automated tests, and it wanted a senior architect to show it how.
What we did
Split the giant module
We coached the team to break the single-module app into lazy-loaded and preloaded feature modules.
Designed a new API
The team built a new API with NestJS and TypeORM that plugged into the existing system with minimal changes, so it could migrate step by step.
Taught reactive Angular
We taught RxJS and functional patterns first, then NgRx state, reducers, selectors and effects, and applied them to real features in pair-programming sessions.
Trained the team on Cypress
We ran Cypress training two to three times a week, including WebSocket tests and the CI differences between Mac and Windows.
Worked in the team's rhythm
The client set the agenda for each session, at first in two-hour blocks and later about two hours a day, four days a week.
The impact
What changed for the business.
A login page that loads quickly
The client lead said the login page had taken about five seconds to load and now loads quickly.
An API the team backed
The client lead said the whole team was happy with the new NestJS API.
A team that tests on its own
The team learned to write Cypress tests without direct oversight.
Asked back
In June 2022 the client came back to ask about a follow-on engagement.