This project is a implementation of micro-frontends using webpack 5 module federation
- Home: A Home app
- Clients: A client app
- Orchestrator: A Navbar app, entry point for the other apps
Home and Clients apps share their routes via Webpack module federation, the Orchestrator get this external routes and integrates with his own router
First of all, you have to clone the monorepo and install all the dependencies, for all the projects.
$ yarn install
then you have to run each one of them in a separate terminal
$ yarn start
The default ports per project config are:
- Orchestrator: 9000
- Clients: 9001
- Home: 9002
Now you just have to open your browser in the url of the orchestrator localhost:9000/