Skip to content

Hema100 Frontend Golden Path

The Frontend Golden Path is your guide to building frontend services at HEMA. Think of it as the paved road through the forest — you can go off-road, but if you follow the path, things just work.

It helps you:

  • 🚀 Ship new frontend services faster
  • ✅ Make good decisions by default
  • 🧭 Stay aligned with platform and architecture goals
  • 🧠 Reduce cognitive load — no need to reinvent the wheel

This isn’t a rigid rulebook. It’s a living guide, shaped by the teams who use it, informed by real-world usage, and curated by the Frontend Platform Team.


It’s the default and recommended way to create, run, and evolve frontend services within the hema100 project. It’s fully aligned with HEMA’s System Architecture Principles — those define the why, the Golden Path focuses on the how for frontend.

The Golden Path is:

  • Common patterns, not rigid rules
  • A practical translation of architecture principles into frontend decisions
  • A starter kit + guidance — not just documentation
  • A shared understanding of how we build things here

The Golden Path is not:

  • A replacement for ADRs, RFCs, or system-level governance
  • A framework you’re forced to use
  • A blocker for experimentation
  • A one-time document — it evolves with the platform

Build with independent, reusable building blocks. Each MFE is its own deployable service — teams work in parallel without stepping on each other.

Paved road, not a walled garden. You can deviate when you have good reasons (document it in an ADR!). The platform evolves based on team feedback.

Solve once, use everywhere. Templates give you production-ready scaffolding. CDK constructs handle infra. Shared libraries (Web Shell, HDS) handle the common stuff. You focus on what makes your service unique.

Deploy early, deploy often. Automated CI/CD moves code from commit to production quickly. Fast builds, good monitoring, and easy rollback let you iterate with confidence.

Every feature branch gets its own production-like environment automatically. Test realistically, get stakeholder feedback, then merge with confidence. Butler handles the lifecycle.

TypeScript, ESLint, Prettier, Vitest, WCAG 2.0 AA accessibility, security headers — all configured from day one. You don’t have to think about it; it’s already there.


Diagram

Each MFE is independent but shares:

  • Web Shell — consistent header, footer, analytics
  • HDS (Tompouce) — design system components and tokens
  • Sanity CMS — content management
  • Gateway — CloudFront routing to the right service

Diagram

At each stage, the Golden Path provides defaults:

  • Create — Backstage template gives you repo + CDK + CI/CD
  • Build — Next.js + HDS + Web Shell + i18n + CMS
  • Deploy — CodePipeline (main) + Butler (feature branches)
  • Operate — Monitoring, logging, alarms, rollback

The Golden Path is an open framework. It’s shaped by:

  • ADRs — Architecture Decision Records for concrete decisions (view all ADRs)
  • RFCs — Requests for Comments for proposals and discussions
  • Team feedback — Real usage informs what gets added or changed

ADRs and RFCs are inputs. The Golden Path is the living synthesis.


Head to the Tutorial to create your first MFE. ✨