This is a simple example of MicroFrontend with ReactJs, Which will help to understand about micro frontend architecture.
Install the dependencies and devDependencies and start the server.
Footer component will serve from here.
cd react-micro-frontend-setup
cd footer-mf
npm install
npm run start:live
Header component will serve from here.
cd react-micro-frontend-setup
cd header-mf
npm install
npm run start:live
Main app will use other components
cd react-micro-frontend-setup
cd mainApp
npm install
npm run start:live