# PEPPY HEALTH: Replace a zero-test clinician panel while the service scaled.

Source: https://www.applification.net/client-work/peppy-health
Markdown: https://www.applification.net/markdown/client-work/peppy-health

## Role and context

Senior frontend engineer, leading a two-person team
Contract through Applification Ltd
MARCH 2022 TO OCTOBER 2023
Stack: React, TypeScript, Storybook, Cypress

A two-person senior frontend team rebuilt Peppy Admin, the web panel clinicians used to support employees receiving Peppy's health benefit.

## Clinicians depended on a tightly coupled panel with no tests.

Peppy Admin was the working interface between clinicians and employees using Peppy's employer-funded health service. Its frontend had no automated tests and tightly coupled screens made changes risky.

Led a two-person senior frontend team while Peppy grew to £12 million in annual recurring revenue. We had to modernise a live clinical tool without slowing the people using it every day.

## Make the inherited interface visible before changing it.

### Catalogue the existing interface in Storybook
The team recorded hundreds of UI components and their states. That turned an opaque frontend into an inventory the engineers could inspect, discuss and improve.

### Replace screen-level coupling with components
Clear component boundaries reduced the reach of routine changes. Work could move through smaller units instead of reopening an entire clinician workflow for every edit.

### Run the complete Cypress suite in GitHub Actions
End-to-end checks became part of the delivery path. The team could test the clinician journeys on every change instead of relying on manual confidence.

### Add AI support where clinician cover stopped
The clinician-side Sendbird integration answered common user questions when clinicians were unavailable, including overnight. It extended support without pretending AI replaced clinical care.

## More frequent releases, fewer bugs and a team that could change the panel safely.

Storybook made the interface inspectable, Cypress put the main journeys under automated checks, and GitHub Actions ran those checks on delivery. The rebuilt frontend gave a growing healthcare service a more dependable way to ship changes.

Senior frontend engineers: 2
Components catalogued: 100s
Cypress coverage: Full E2E
ARR during scale-up: £12m

## References

- [Visit Peppy Health](https://peppy.health/)

## Explore Applification

- [Home](https://www.applification.net/markdown)
- [About Dave](https://www.applification.net/markdown/about)
- [Client work](https://www.applification.net/markdown/client-work)
- [Products](https://www.applification.net/markdown/products)
- [Writing](https://www.applification.net/markdown/writing)
- [Agents & API docs](https://www.applification.net/markdown/agents)
- [Contact routes](https://www.applification.net/about)
- [LinkedIn](https://www.linkedin.com/in/hudsond/)
