Skip to content

React micro-frontend templates that support hot loading React micro-apps and components based on a users route.

Notifications You must be signed in to change notification settings

carlosrziegler/react-micro-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository has moved to the link below.

Micro App Repository

redbox demo

react-micro-frontend

This is a proof of concept that demonstrates using React micro-frontend templates that support hot loading React micro-apps and components based on a users route. The orchestration of injected micro-apps and components is completely dynamic and controlled by a site level configuration.

The POC renders a mock video site that allow users to search for movies and view their details.

alt text

Visit the wiki for additional documentation.

Installation

There are three React applications used by this POC. There is a search application (redbox-search) that retrieves a list of movies based on a provided search term and a details application (redbox-details) that retrieves and displays a movies information by id. Finally there is the host-app that you guessed it, hosts the micro-apps.

To get started, clone the repo and run the following commands. It is important to follow the order as outlined below to ensure the micro-apps have been properly built before launching the host application.

redbox-details

cd micro-apps/redbox-details
npm i
npm run build

redbox-search

cd micro-apps/redbox-search
npm i
npm run build

host-app

cd host-app
npm i
npm start

About

React micro-frontend templates that support hot loading React micro-apps and components based on a users route.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.4%
  • HTML 2.8%
  • CSS 1.8%