Skip to content

pnqphong95/micro-frontend-team-two

 
 

Repository files navigation

micro-frontend-team-two

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 a fragment can display a product like this:

    • When Bill remaining money less than the price of product, buy / sell button must not be allowed to click.
    • When buy / sell is clicked, must update the receipt (with receipt belong to team 3). image

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

    <product-item type="airpods"></product-item>
  2. Build a sandbox page where other teams can test how your team fragment look like, how it behave.
    Hint: Your team will mock fragments of other teams. (image above)

About

Fragments, assets developed by Team 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 55.6%
  • JavaScript 30.2%
  • HTML 13.3%
  • Other 0.9%