Skip to content

nabeel-shakeel/react-vue-microfrontend

Repository files navigation

react-vue-microfrontend

Working implementation of Mirco-frontend Web App using React, Vue and Nx as build framwork using Webpack5 Module Federation

Microfrontend Architecture

To implement microfrontend architecture we used:

  • Webpack 5 Module Federation
  • Microfrontend apps resides in Nx monorepo
  • Container and Auth app built using React
  • Dashboard app built using Vue.js

Build and Run

Install dependencies

npm install

To run whole app with container and other microfrontends:

npm run start:all

To run one microfrontend separately, for exmample auth:

npx nx run auth:serve

List of microfrotend apps, as of now:

Microfrontend App Name Url
Container container http://localhost:8081/
Auth auth http://localhost:8082/auth/signin
Dashboard dashboard http://localhost:8083/dashboard

Future Task

  • Production setup for Mirco-frontend app
  • Dockerized application
  • CI/CD pipeline

ScreenShot

Auth App Built using React

Auth App

Dashboard App Built using Vue

Dashboard App

About

Micro-frontend application using React, Vue and Nx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published