A modern, scalable micro-frontend application built with Module Federation Enhanced, Rsbuild, and React 19. This project demonstrates how to orchestrate multiple independent applications into a seamless user experience.
Get the entire system running in minutes.
# 1. Install dependencies for all apps
npm run install:all
# 2. Start the Host and all Remotes
npm run dev:allFor detailed setup instructions, including manual start and prerequisites, see Getting Started.
We have comprehensive documentation to help you understand and modify this project:
| Document | Description |
|---|---|
| Getting Started | Installation, running the app, and dev scripts. |
| Project Structure | Explanation of the monorepo layout and application roles. |
| Architecture | High-level system design, data flow, and Module Federation config. |
| Technologies | Detailed breakdown of the tech stack (Rsbuild, React 19, Redux). |
| Tutorial | Step-by-step guide to adding a new shared component. |
| Learning Goals | Educational concepts covered in this project. |
| Troubleshooting | Common errors and how to fix them. |
The project consists of a Host App (Container) that consumes features from Remote Apps and utilizes shared logic from Shared Utils.
graph LR
Host[Host App] --> Remote1[Remote App 1]
Host --> Remote2[Remote App 2]
Remote1 --> Shared[Shared Utils]
Remote2 --> Shared
Host --> Shared
See ARCHITECTURE.md for the complete design.
- ⚡ Blazing Fast Builds: Powered by Rsbuild (Rspack).
- 🔄 Module Federation Enhanced: Advanced runtime sharing and version management.
- 🧠 Shared State: Redux Toolkit & Singleton pattern implementation.
- 📡 Event Bus: Decoupled cross-app communication.
- 🧭 Routing: Unified navigation with React Router v7.
- Linting:
npm run lint:all - Build:
npm run build:all
This project is private and intended for educational & demonstration purposes.