Skip to content

KimiyaKhoshnood/Micro-Minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Micro Frontend Demo Project

This is a simple Micro Frontend architecture demo built using Module Federation. It consists of two separate applications:

  • Host (Shell): runs on port 1000, named application
  • Remote (Provider): runs on port 1001, named components

🧱 Project Structure

micro-frontend-demo/

β”œβ”€β”€ application/ # Host (container) app β€” PORT: 1000

└── components/ # Remote app exposing components β€” PORT: 1001

Core Technologies

  • React 19.0.0
  • TypeScript (ES2020)

πŸš€ Getting Started

Make sure you have Node.js (v16+) and npm installed.

1. Start the Remote (components on port 1001)

cd components
npm install
npm run dev

This will start the remote app on http://localhost:1001

2. Start the Host (application on port 1000)

cd application
npm install
npm run dev

This will start the host app on http://localhost:1000

πŸ“¦ Module Federation Setup

  • The Host consumes components exposed by the Remote.
  • Module Federation enables runtime sharing of React components between apps.
  • Both apps must be running simultaneously for remote imports to work.

About

Micro Front-end architecture for Minimals UI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published