Skip to content

Basic e-commerce with webpack module federation to understand microfrontend logic

Notifications You must be signed in to change notification settings

abdurrahmancuce/basic_mfe_ecomm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Micro Frontend Ecomm App

This project is a simple project to learn the basics of microfrontend architecture. This project was generated with pure Javascript.


Install

First, you need to install Node.js version 16.17.0 or higher

  1. visit the official [Node.js page] (https://nodejs.org/en/download/) and download the latest Node.js Installer for your OS
  2. access the download location and double-click the Installer Package
    • make sure that the npm package manager is part of the installation bundle
  3. 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

Cart App

For the cart app, access the command prompt (or PowerShell) and follow the steps below:

  1. cd basic_mf_ecomm/cart
  2. npm install

Product App

For the product app, access the command prompt (or PowerShell) and follow the steps below:

  1. cd basic_mf_ecomm/product
  2. npm install

Container App

For the container app, access the command prompt (or PowerShell) and follow the steps below:

  1. cd basic_mf_ecomm/container
  2. npm install

Development server

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.

About

Basic e-commerce with webpack module federation to understand microfrontend logic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published