Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.11 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.11 KB

Micro Frontend Project

This project demonstrates a micro frontend architecture using a host app and a wallet app.

Quick Start

  1. Clone the repository:

    git clone [repository-url]
    cd [game]
    
  2. Open a terminal in the project root directory.

  3. Install dependencies and start the project:

    npm i
    npm start
    
  4. Enjoy the application!

Manual Start (If Quick Start Fails)

If you encounter issues with the quick start method, follow these steps:

Wallet App

  1. Open a terminal and navigate to the wallet-app directory:

    cd wallet-app
    
  2. Build the wallet app:

    npm run build
    
  3. Start the wallet app preview:

    npm run preview -- --port 5001
    

Host App

  1. Open a new terminal and navigate to the host-app directory:

    cd host-app
    
  2. Start the host app development server:

    npm run dev
    

Accessing the Application

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!