ArtOfMicrofrontends / 07-blue

Sample project for the microfrontend of team blue in "server-side composition" of ch. 7.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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-blue.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 ejs express express-session
  1. Add code for the microfrontend

  2. Add HTML fragments into views

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

  4. Run server

About

Sample project for the microfrontend of team blue in "server-side composition" of ch. 7.


Languages

Language:JavaScript 54.6%Language:CSS 29.3%Language:HTML 16.0%