Skip to content

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

Notifications You must be signed in to change notification settings

ArtOfMicrofrontends/07-green

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-green.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
  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 green in "server-side composition" of ch. 7.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published