Giter Club home page Giter Club logo

micro-front's Introduction

Micro Front-end POC

O objetivo desse repositório era estudar a utilização de micro front-ends com a module federation do webpack 5. Aproveitei e testei também sobre errors boundaries que são de suma importância para a experiência do usuario. Da pra se dizer que toda aplicação deveria ter, principalmente as que precisam guardar um log de erros e também para micro fronts, afinal o Suspense e o lazy ajudam no carregamento mas caso o outro micro front esteja off, irá dar um erro.

Detalhes do projeto

  • Container
    • App principal, que consome os outros micro fronts.
  • Micro-front-1
    • App independente que é chamado pelo container.
  • Micro-front-2
    • App independente que é chamado pelo container

Como rodar o projeto

Para rodar o app container

  cd container/
  yarn install

ou

  npm install
  yarn start

O app irá rodar na porta 3000 do seu localhost.

Para rodar o app mifro-front1

  cd microfront-1/
  yarn install

ou

  npm install
  yarn start

O app irá rodar na porta 3001 do seu localhost.

Para rodar o app mifro-front2

  cd microfront-2/
  yarn install

ou

  npm install
  yarn start

O app irá rodar na porta 3002 do seu localhost.

Feito por Lucas Rosa

micro-front's People

Contributors

rosajsx avatar

Watchers

 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.