This repository stores three different clients that work as a single app.
It's a proof of concept for a microservice architecture application.
It was created by following the "Micro Frontend" by Cam Jackson article in https://martinfowler.com page.
It has 3 independent applications:
- Container app
It's the main frontend application that serves the other apps. It has common components like the Navigation Bar and the Header of the application that's shared across the other apps (or pages). - Home app
It's a page under the "/" path that's rendered inside the Container app with a count button. - About app
It's a page under the "/about" path rendered inside the Container app with a summary of the application.
Each client was built with Vite
+ React
. It also uses react-router-dom
as a router to navigate across the subpages.
-
Install each app by running:
yarn install
-
Run each app independently:
yarn dev
You can stop the Home or About app and check that it stills works.
The container_app should always be running