Skip to content
Briebug

Delivery partnership

Global electronic test and measurement company: Coaching that took a small team's Angular app from one giant module to lazy-loaded, reactive and tested

We coached a small in-house team to split its Angular app, build a NestJS API and adopt NgRx and Cypress, and its slow login page now loads quickly.

Situation:
A three-developer in-house team ran a single-module Angular app whose login page took about five seconds to load.
What we did:
A part-time architect and a test engineer coached the team through code splitting, a new NestJS API, NgRx and Cypress.
Result:
The client says the login page now loads quickly and the whole team was happy with the new API, and it asked us back in June 2022.

Engagement: August 2020–2021

Published Updated

Client
Internal application that tracks R&D projects and the people on them
Engagement
Architecture coaching and test training, August 2020 to 2021. Briebug team: 3 people (an architect, a test engineer and a delivery manager)
Services
Angular architecture, reactive state management, API design and Cypress test training
Stack
Angular, RxJS, NgRx, NestJS, TypeORM, Cypress

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.

All case studies

Is your Angular app one giant module?

Talk to a senior engineer, not a salesperson. Our senior architects coach your team on real features, so the patterns stay after we leave.