Skip to content

stephanrauh/astro-microfrontends-ssr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astro-microfrontends

This demo takes advantage of EcmaScript Modules (ESM) to server-side render micro-frontends. Express is used for serving assets, but ideally one would have a dedicated CDN hosting them.

Features

  • 🧑‍🚀 Server-side rendering of micro-frontends
  • ✨ Server-side composition of micro-frontends
  • 📦 Cacheable remote modules with Deno

Usage

Micro-frontends

  • Build each microfrontend with npm run build
  • Start each microfrontend with node server.js

Shell application

  • Build the shell with npm run build
  • Start the shell with npm run preview

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • Astro 16.6%
  • TypeScript 14.5%
  • CSS 12.6%
  • HTML 5.9%