Git Product home page Git Product logo

microfrontends's Introduction

Micro Frontends Proof of Concept

Goals

  • create portal-like application with top-header and left-side navigation bar navigation bar has links that open sub-applications
  • each sub-application can be implemented in different technology (like Angular 5, React 15 and React 16)
  • we can render single sub-application in single page
  • we can render many sub-applications in a single page
  • each sub-application can be deployed independently and hosted on different servers
  • CSS stylesheets are independent
  • communication between sub-applications is possible

Modules

sub-app-angular

Angular 5 application. It a sub-application of the portal.

sub-app-react16

React 16 application. It a sub-application of the portal.

main-app

React 15 application. It is a template application, which aggregates sub-app-angular and sub-app-react16 as a portal.

Deployment

sub-app-angular

cd sub-app-angular
npm install
npm run build
npm run serve

Now bundles are available here: http://localhost:3001

sub-app-react16

cd sub-app-react16
npm install
npm run build
npm run serve

Now bundles are available here: http://localhost:3002

main-app

cd main-app
npm install
npm run build
npm run serve

Now the application is available here: http://localhost:3000

microfrontends's People

Contributors

michal-lipski avatar gitlukasz avatar arturchyzy avatar

Watchers

James Cloos avatar Thomas Sanderson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.