/microfrontends-demo

A demo classifieds ads site with microfrontend architecture built with module federation

Primary LanguageJavaScript

Shared App Shell, State, Routing and Components Example

This example demos a basic host application loading remote component.

  • shell is the App Shell
  • home - standalone application for homepage
  • searchResults - standalone application that displays a list of ads for a given category
  • view-item-page - standalone application to view an individual ad

The data is delivered by a separate GraphQL api layer called api

Running Demo

Run yarn start. This will build all the apps shell, home, searchResults, view-item-page, on different ports as shown below

It is styled using tailwind css.