Design a Micro Frontend Shell for a Multi-Team Insurance Portal
Last updated: November 29, 2026
Quick Overview
Six client teams own different parts of an insurance customer portal (quotes, policies, claims, billing, documents, profile). Design a micro frontend architecture that lets each team deploy independently while users get one fast, consistent application.
Thoughtworks
November 29, 20260
0
0 solved
Six client teams own different parts of an insurance customer portal (quotes, policies, claims, billing, documents, profile). Design a micro frontend architecture that lets each team deploy independently while users get one fast, consistent application.
Micro frontends were popularised partly through Thoughtworks writing and the Technology Radar, and frontend consultant interviews probe both the benefits and the costs. The interviewer checks composition strategy, shared concerns like auth and design system, performance budgets, and independent deployment.
What the Interviewer Expects
- Compares composition options (build time, runtime via module federation, server or edge)
- Defines what the shell owns: routing, auth session, layout, shared design system
- Keeps contracts between micro frontends small (events, URL, typed props)
- Manages shared dependencies and bundle size budgets
- Plans independent pipelines, versioning and rollback per team
- Addresses consistency, accessibility and testing across teams
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- When would you advise the client not to use micro frontends?
- How do you upgrade React across six teams without a big-bang?
- How do the claims and policies apps share state such as the selected policy?
- How do you do end-to-end testing when every team deploys independently?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Each team deploys daily without coordinating. One login, one navigation, consistent look and accessibility (WCAG AA). Performance: first contentful paint under about 2 seconds on mid-range mobile, JS ...
High-Level Design
A thin application shell owns top-level routing by path prefix (/claims, /policies), authentication via OIDC with tokens held in memory and refreshed by the shell, global layout and navigation, error ...