A small microfrontend monorepo demo with an Angular host and several microfrontends (Angular, React and a remote Svelte). The idea is to demonstrate different approaches to microfrontends via Module Federation, Native Federation and via
Quick overview
backend/
- A small NodeJS web server that acts as a mock REST API which returns a list of available microfrontends from the apps.json.host-angular/
— Angular shell containing a navigation barremote-angular-mf/
— an Angular Module federated remoteremote-angular-nf/
— an Angular Native federated remoteremote-angular-iframe/
— a standalone Angular application embedded using <iframe>
remote-react-mf/
— a small React application with simple routingQuick start (per project)
npm install
.npm run start
, npm run dev
or ng serve
.http://localhost:4200
.Big shoutout to Manfred Steyer and his examples for setting up microfrontends. A lot of his examples were either reused here or have been an inspiration for this repository.