Building a Modular Portal with Webpack Module Federation
Zalando's logistics transport teams built an internal portal from independently deployed micro frontends using Webpack Module Federation, so five teams could ship new and legacy apps without redeploying the host. A central backend proxy handles authentication and OPA-style authorisation, returns the list of apps each user may access, and the portal fetches each app's manifest (menu items, permissions, remoteEntry bundle path) to lazy-load it on route activation. Version conflicts are handled by sharing singletons like React and lodash, and cross-app communication goes through a single prop interface for session data, logout, navigation and error reporting. The portal now hosts 11 apps from 4 teams, with a shared npm UI-kit keeping the design consistent.
Related posts
- Micro Frontends: from Fragments to Renderers (Part 1)
Zalando Engineering easyNoviceZalando replaced its Mosaic micro-frontend architecture, built on team-owned page Fragments, with Interface Framework, a unified platform where pages are trees of typed Entities (Product, Collection, Outfit) mapped via declarative rendering rules to React Renderers that declare data needs in GraphQL. A Node.js/browser Rendering Engine resolves and renders the Entity tree chosen by the recommendation system, with built-in monitoring, batched A/B testing, deployment previews against production, and performance gates such as Lighthouse CI, bundle size limits and Web Vitals reporting. Moving teams into a monorepo with a shared stack lowered the entry barrier and improved UX consistency, at the cost of blurred ownership. A hybrid mode serving Fragments and Renderers together eased migration, and about 90% of traffic now runs on IF.
- How we use GraphQL at Europe's largest fashion e-commerce company
Zalando Engineering easyNoviceZalando replaced a sprawl of per-page and per-platform Backend-for-Frontend services with a single unified GraphQL API owned via a shared monorepo across 12+ domain teams. The BFFs had duplicated effort, fragmented security and observability, and produced inconsistent data across web and app. The graph is built on Entities such as Product and Campaign and runs on their own GraphQL engine, graphql-jit, under a strict no-business-logic rule. Since 2018 it has grown to serve over 80% of web and 50% of app use cases, with adoption driven by documentation, training and schema consultation, and god-component risk handled through contribution principles, circuit breakers, timeouts, retries and per-platform bulkhead deployments.
- Shopify’s platform is the Web platform
Shopify Engineering mediumAdeptRemix is now Shopify's recommended framework for building Admin apps, backed by a rewritten, final version of App Bridge that makes cross-origin iframes behave like a normal web environment. App Bridge uses postMessage() to restore what browsers strip from iframes: it syncs history.pushState() URL changes to the top-level page, supplies OpenID Connect ID tokens in place of unavailable cookies, and exposes Admin integrations such as sidebar navigation through standard Custom Elements. It is loaded from a CDN script tag so fixes reach every app without redeploys. The Remix template bundles @shopify/shopify-app-remix for OAuth, ID token and HMAC handling, plus Prisma for storage and session persistence.
- An Introduction to the Zalando Design System
Zalando Engineering mediumAdeptZalando's web design system is layered on an extended atomic-design model: design tokens, "electrons" (a restricted CSS grammar like paddingTop_m), atoms (the only layer that touches CSS), molecules (generic React components) and team-owned organisms. Each layer changes at a different pace, and the architecture is shaped around that. The monorepo publishes one npm package per component plus a single shared CSS bundle, so adding organisms never grows the CSS and teams' JS bundles don't affect each other. GitHub code owners give feature teams ownership of their organisms. After two years and near-100% adoption, the remaining pain points are fragmented ownership of common components and keeping library releases in sync with the main app's separate deployment pipeline.
- How we built multi-region support for Linear
Linear mediumAdept
Linear added an EU region by replicating its entire production deployment per region rather than sharding the database, keeping each region isolated and letting engineers keep writing against a single Postgres instance. The work came in three phases: Terraforming the previously hand-managed GCP infrastructure into region-parameterized modules, extracting a global authentication service that owns users, workspaces and their region mapping, and putting a Cloudflare Workers proxy in front of all traffic to route requests to the right region with a signed JWT. Shared records are created and deleted in the auth service first so uniqueness holds globally, updates propagate asynchronously through the sync engine, cross-service calls flow one way (auth to regions via Pub/Sub), and background jobs reconcile the two sides. Fallbacks and feature flags kept cut-overs late and mostly invisible to users.