This project is a simple project to learn the basics of microfrontend architecture. This project was generated with pure Javascript.
First, you need to install Node.js version 16.17.0 or higher
- visit the official [Node.js page] (https://nodejs.org/en/download/) and download the latest Node.js Installer for your OS
- access the download location and double-click the Installer Package
- make sure that the npm package manager is part of the installation bundle
- once the installation is complete, access the command prompt (or PowerShell) and check the installed version
- to verify the Node.js version run
node -v
- for the NPM version, use the following command:
npm -v
- to verify the Node.js version run
For the cart app, access the command prompt (or PowerShell) and follow the steps below:
- cd basic_mf_ecomm/cart
- npm install
For the product app, access the command prompt (or PowerShell) and follow the steps below:
- cd basic_mf_ecomm/product
- npm install
For the container app, access the command prompt (or PowerShell) and follow the steps below:
- cd basic_mf_ecomm/container
- npm install
To start the ecomm app on localhost, run npm run start
from the /cart, /product and /container directories. Navigate to http://localhost:8080/
. The application will automatically reload if you change any of the source files.