This project demonstrates a micro frontend architecture using a host app and a wallet app.
-
Clone the repository:
git clone [repository-url] cd [game]
-
Open a terminal in the project root directory.
-
Install dependencies and start the project:
npm i npm start
-
Enjoy the application!
If you encounter issues with the quick start method, follow these steps:
-
Open a terminal and navigate to the wallet-app directory:
cd wallet-app
-
Build the wallet app:
npm run build
-
Start the wallet app preview:
npm run preview -- --port 5001
-
Open a new terminal and navigate to the host-app directory:
cd host-app
-
Start the host app development server:
npm run dev
Once both apps are running, you can access the micro frontend application at:
All items in the navigation menu are being used
Enjoy exploring the micro frontend architecture!