Skip to content

INTERN-FE/len-ecommerce

Repository files navigation

eCommerce Module Federation

Feature

Live Preview

Visit this site ecommerce.xyzuan.my.id

Preview

Home Authentication Detail Product Cart Payment Product

Installation

Prerequisites

  • node.js
  • yarn, never use npm instead

Installation Steps

  1. Clone the repository
  2. Clone the submodule git submodule update --init
  3. Install needed packages yarn && yarn pkg
  4. Run the all the service with yarn start

Deploy to Server with Docker

  1. Change desired env variable within ./build.sh & ./docker-compose.yml
  2. Build the mf app to docker image locally: ./build.sh
  3. Served in desired URL

Unit Testing

  1. Test all mf service with yarn test
  2. Voila!

License

This project is licensed under the LEN Intern MSIB6 - see the LICENSE.md file for details.

About

Sample eCommerce Site built with Module Federation + Webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages