Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 734 Bytes

README.md

File metadata and controls

55 lines (34 loc) · 734 Bytes

Chapter 07

Prerequisites

The following software is required to run the sample:

  • Git
  • Node.js
  • NPM

Running

Clone the repository:

git clone https://github.com/ArtOfMicrofrontends/07-gateway.git

Go to the repository's directory and run NPM install:

npm install

Now start the application:

npm start

Steps

Follow these steps to implement the same from scratch.

  1. Initialize the repository
npm init -y
  1. Install the dependencies
npm i axios cheerio express nodesi ejs
  1. Add code for gateway

  2. Add (default) template into views

  3. Add the required assets (e.g., CSS stylesheets) into public

  4. Run server

  5. Start microfrontends (blue, green, red)