Skip to content
PRP.dev
ES— Leer esta página en español
All case studies

Leading national health insurer

One platform, dozens of member requests, a single experience

Migrating a leading health insurer's member portal, with a shared component library and contingencies that turn off a request with no deploys.

Role
Senior Frontend Developer at Quadion Tech
Period
December 2023 – present
Stack
  • React
  • TypeScript
  • Module Federation
  • Storybook
  • Firebase Remote Config
  • Vitest
  • Playwright
  • GitLab CI

In 30 seconds

Problem

Migrating the legacy member portal of one of Argentina's leading health insurers with several teams working in parallel, without each team building its own components or one failure taking down the whole platform.

Solution

I built components for a shared library in Storybook (steppers, breadcrumbs, file upload, analytics) and worked on the contingency system that controls the portal from a remote configuration.

Impact

A consistent experience across every request and a platform that degrades gracefully; when something fails, one request goes down, not the portal, and with no deploys.

Key results

to turn off a request or put the portal in maintenance
0 deploys
microfrontends with Module Federation and a modular monolith
2 architectures

Context

At Quadion Tech I work for one of Argentina’s leading health insurers, on the migration of its member portal: reimbursements, authorizations, billing, disability and many more requests, used by members and healthcare providers. Several development teams work in parallel on the same platform.

The architecture

The migration started with microfrontends using Module Federation: an app shell handled authentication, layout and navigation, and each request was an independent microfrontend. Later, by client decision, we consolidated the platform into a modular monolith, where each request is still an independent module loaded on demand. I worked with both architectures.

Architecture of the request portalAn app shell handles authentication, layout and navigation and integrates the requests, each as an independent module loaded on demand. Header, footer and shared components come from a shared library. The migration started with microfrontends (Module Federation) and later, by client decision, was consolidated into a modular monolith.App shellAuthentication · layout · navigationReimbursementsIndependent moduleLoaded on demandAuthorizationsIndependent moduleLoaded on demandBillingIndependent moduleLoaded on demandDisabilityIndependent moduleLoaded on demandand many more…Shared library• Header and footer• Stepper · breadcrumb• File upload• Analytics1 · Microfrontends with Module Federation2 · Modular monolith (client decision)
The app shell integrates requests as independent modules; header, footer and shared components come from the shared library.

Challenge 1: everything has to look and behave the same

With several teams building in parallel, each one risked creating its own buttons, forms and patterns. To prevent that we created a shared component library that, since this was a migration, had to be rebuilt from scratch. I built many of its components in Storybook, working closely with the design team from Figma files:

  • Steppers and breadcrumbs, present in every request.
  • File upload, which uploads documents in two steps using signed cloud URLs.
  • Centralized analytics functions, so every request tracks its events the same way.

Every component follows the same path: design in Figma, development and documentation in Storybook, unit and end-to-end tests in the pipeline, and only then does it reach the requests.

Generic request screenMockup of a reimbursement request at step 2 of 4. At the top, the breadcrumb Home, Reimbursements, Request and a scheduled maintenance banner. Below, the stepper with Member, Receipt, Contact and Review, and the file upload with an attached receipt. Breadcrumb, banner, stepper and file upload come from the shared library.Member portalHome › Reimbursements › Request⚠ Scheduled maintenance: Friday 11:55 PM to 1:00 AMStep 2 of 4✓Member2Receipt3Contact4ReviewAttach the receiptDrag or choose a file📄 invoice.pdf✓SHARED LIBRARYBreadcrumbsame on every requestNotice bannerdriven by contingenciesSteppersame flow and statesFile upload2 steps with signed URLs
Generic request screen (illustrative mockup): breadcrumb, banner, stepper and file upload come from the shared library.

Challenge 2: resilience

A platform with this many requests depends on many services, and a single failure can’t take everything down. We built a contingency system with Firebase Remote Config: the app polls the configuration every minute and, depending on what it finds, turns off a single request, shows a maintenance notice with date and time or puts the whole platform in maintenance. All without deploying.

Real-time contingenciesA remote configuration in Firebase Remote Config, which the app shell polls every 60 seconds, controls three response levels: full maintenance by date or forced, a request turned off that becomes unavailable, and a notice banner with date and time. All without deploys.Remote ConfigFirebaseJSONApp shellPolls every 60 sFull maintenanceBy date or forcedRequest offUnavailableNotice bannerDate and timehigher impact → lower impact✓ No deploys
A single remote configuration controls three response levels, with no deploys.

Quality and deployment

Unit tests (first with Jest, later migrated to Vitest), end-to-end tests with Playwright and GitLab pipelines with security scanning that deploy to Kubernetes. The same build also runs in every environment, because the app reads its configuration at startup.

Results

  • Consistency: members and providers see the same components in every request.
  • Resilience: when something fails, one request goes down, not the platform, and with no deploys.
  • Team velocity: an improvement to a component reaches every team at once.

Also on this project

I also built the members’ benefits platform in Next.js, with a mobile-first map that clusters results, handles businesses sharing a building and stays in sync with the list. It has its own case study: Benefits on the map, from phone to coupon.

Could your team use this kind of experience?

I'm looking for a long-term Senior Frontend or Full Stack role. Let's talk.

Get in touch