This repository serves to demonstrate an example of micro-frontend implementation. It consists of the container app and two micro-frontend app marketing
and auth
in the respective directories.
- Clone the repo
https://github.com/AvaniBataviya/micro-frontend-reactapp.git
- Install dependencies in respective directories & start app
cd container
yarn install
yarn start
cd marketing
yarn install
yarn start
cd auth
yarn install
yarn start
3.Visit the following URLS:
import foobar
# renders both apps
http://localhost:8080/
# renders only marketing
http://localhost:8081/
# renders only auth
http://localhost:8083/