Examples
Store
Let's use this repository as example: micro-store;
Here we have a application that represents a simple store:
- you can browse products
- filter by promotions
- add products to your cart
- access your current cart and remove items
With this features we divided our application in 5 parts (this is just an example, if you are developing a real page as simple as this example, maybe you should not use microfrotend architechture):
webapp
: our container page that organize all other microfrontendscart
: exports 2 components (a widget and a full page that shows current cart) and an api that enables adding and removing products from cartshowcase
: a list of products with an api to setup type filter that callscart
api to add productspromotion
: list of filters by type that callsshowcase
apidesign-system
: used by other microfrontends, exportsButton
component