- Node.js (v20 is recommended)
- npm (v10 is recommended)
- Clone the repository
- Run
npm install
in the root directory - Run
npm run prepare
to build the mfe-common package, as other packages depend on it - Run
npm run build
to build the project - Run
npm run start
to start the server. It will open 3 tabs in your browser:http://localhost:3000
- Shell apphttp://localhost:3001
- Placeholder micro-frontendhttp://localhost:3002
- GitHub info micro-frontendhttp://localhost:3003
- mfe-common package
packages/github-info
- Micro-frontend that shows the user's GitHub information and GitHub statuspackages/placeholder-page
- Micro-frontend with placeholder contentpackages/mfe-common
- Shared code between micro-frontends (Imports via importmap)packages/shell
- Container app that loads the micro-frontends