This is a proof of concept that demonstrates using React micro-frontend templates that support hot loading React micro-apps and components based on a users route. The orchestration of injected micro-apps and components is completely dynamic and controlled by a site level configuration.
The POC renders a mock video site that allow users to search for movies and view their details.
Visit the wiki for additional documentation.
There are three React applications used by this POC. There is a search application (redbox-search) that retrieves a list of movies based on a provided search term and a details application (redbox-details) that retrieves and displays a movies information by id. Finally there is the host-app that you guessed it, hosts the micro-apps.
To get started, clone the repo and run the following commands. It is important to follow the order as outlined below to ensure the micro-apps have been properly built before launching the host application.
cd micro-apps/redbox-details
npm i
npm run build
cd micro-apps/redbox-search
npm i
npm run build
cd host-app
npm i
npm start