Giter VIP home page Giter VIP logo

micro_frontend_poc's Introduction

Micro Frontend Proof Of Concept

Microfrontend is ongoing concept, several methods are developed to achieve this. My approach is to deploy each page or services as code in a cdn. Much like jquery where browser load the jquery and execute the code on runtime

Getting Started

There are 3 folders here.

  1. S3_BUILD_FILES will play role as S3, I decide not to include real S3 to keep everything simple.
  2. Express, this will be the main server to load the template, and any other services
  3. Services, in this folder there are developmennt code for each services for each page.

Installing

  1. clone the repo
  2. cd micro-frontend
  3. npm install
  4. node installModules.js to install all dependencies on each services
  5. node buildAndDeploy.js to build and deploy all React pages to "S3" (which is actually just another folder on this repo)`

Deployment

  1. cd express && npm install to install all dependencies on express.js
  2. node ./bin/www to run the server
  3. open your browser to localhost://3002

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

micro_frontend_poc's People

Contributors

lambdaagent avatar vyredo avatar

Watchers

 avatar

Forkers

rajsec12

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.