- Nodejs v20.x.x
- Docker
- Docker-compose
- Clone the project
- Run docker-compose up --build -d
- Open http://localhost:3000 in browser
- To stop the project run docker-compose down
- Clone the project
- cd micro-frontends
- cd host-app
- npm install
- cd ../todo-components
- npm install
- cd ../host-app
- npm run build && npm run preview
- cd ../todo-components
- npm run build && npm run preview
- Open http://localhost:3000 in browser
example inspired from https://dev.to/abhi0498/react-micro-frontends-using-vite-30ah