diff --git a/README.md b/README.md index 832e2ba..1102756 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,12 @@ -# astro-microfrontends +# Scalable Shoe Shop + +An e-commerce page as a demonstration of using [Astro](https://astro.build) as shell for a microfrontends application. + + + +## About + +This project was initially forked from [this repo](https://github.com/sasoria/astro-microfrontends), then moved to a new repo for a cleaner history. This demo takes advantage of EcmaScript Modules (ESM) and url-imports to do client-side composition of microfrontends. Express is used for serving assets, but ideally one would have a dedicated CDN hosting them. @@ -25,7 +33,3 @@ For production you would start the node server in the `server` folder, after bui ## Shared dependencies Dependencies such as react and react-dom are shared across applications. They are fetched from [esm.sh](https://esm.sh/) and gets cached in the browser, reducing the bundle size. Each app can share other dependencies as well through url imports. - -## More info - -This project was initially forked from [this repo](https://github.com/sasoria/astro-microfrontends), then moved to a new repo for a cleaner history. \ No newline at end of file diff --git a/app-heading/src/App.jsx b/app-heading/src/App.jsx index 0cb0612..d5922d8 100644 --- a/app-heading/src/App.jsx +++ b/app-heading/src/App.jsx @@ -9,7 +9,7 @@ const App = (props) => { return (
-

+

{title} {count}

diff --git a/assets/sss-ss.png b/assets/sss-ss.png new file mode 100644 index 0000000..08c6b05 Binary files /dev/null and b/assets/sss-ss.png differ