Moristotle / micro-frontend

Micro frontend app demonstrating the utility of module federation. - Powered by React, Vue, Azure & webpack 5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Micro frontend demo

Fiddling around with micro frontend architecture & module federation
Live demo: https://blue-cliff-0fcc74103.1.azurestaticapps.net/

Architecture & Project Structure

  • Container - React Single Page application orchestrating communication, routing & rendering of the different micro apps.
  • Auth - React Single Page application handling authentication for accessing the dashboard app.
    Renders content on /auth/sign & /auth/signup.
    (click login & then sign in to redirect to dashboard)
  • Dashboard - Vue.js Single Page application rendering graphs & visual data. - Secured behind authentication flow (Auth app).
    Renders content on /dashboard.
  • Marketing - React Single Page application handling the rendering of marketing content. Renders content on / & /pricing.

The Container app is hosted on Azure Static Web App, while the other apps are hosted & served as static files on Azure Storage. Orchestrating the communication between the different micro apps using tiered routing, module federation & Azure CDN.

Stack

  • React (incl. React Router)
  • Vue (incl. Vue router)
  • Material UI,
  • Webpack 5,
  • Babel,
  • Azure Static Web Apps,
  • Azure Storage
  • Azure CDN
  • Github Actions (CI / CD)

About

Micro frontend app demonstrating the utility of module federation. - Powered by React, Vue, Azure & webpack 5


Languages

Language:JavaScript 66.3%Language:Vue 33.0%Language:HTML 0.7%