/micro-frontend-team-one

Fragments, assets developed by Team 1

Primary LanguageCSS

micro-frontend-team-three

Overall

Inspired by https://neal.fun/spend/ image

Bill Gates is one of billionaires in the world. He's very rich. He has a lot of money. For that reason, today we will together help him spent his money on our application.

The application we are going to build with ONE main features is sell / buy the product which will have some requirements:

  1. Display Bill remaining money after buy / sell some products.
  2. Display a list of products, each product should have buy / sell action.
  3. Show and update the receipt on every buy / sell action.

As the workshop organizer, we decide that we separate the application into multiple fragments.
So that we can work indepently and the team do their fragment freely choose the framework they want.

Team specific requirements

  1. Build 2 fragments can display the app banner and the current money of Bill like this:

    • When receipt total is changed, must update Bill current money (with receipt total belong to team 3)
    • When Bill current money is changed, the buy button must be update disable or enable (with buy / sell action belong to team 2).
      image

    Hint: Your team should produce a fragment within JS file. Application just import your JS and declare some thing like:

    <banner><banner>
    <current-amount></current-amount>
  2. Build a sandbox page where other teams can test how your team fragment look like, how it behave.
    image
    Hint: Your team will mock fragments of other teams. (image above)