It's a simple route-distributed microfrontends, which distributes different services to different independent frontend applications by routing. In this case the solution was implemented by the reverse proxy of the NGINX HTTP server. That should be the most popular and easy-to-use "micro-frontends" solution.
- Angular, React and Vue applications
- Docker and NGINX configs for each application
- A main NGINX HTTP server to manage and distribute routes
- Docker Compose to run multi-container Docker applications
$ Git
$ Docker
$ Docker Compose
- Clone this repository:
$ git clone https://github.com/alan-nascimento/route-distributed-microfrontends.git
- Go to the root of the directory:
$ cd route-distributed-microfrontends
- Start the server:
$ docker-compose up
-
The server will be running at the port
80
. -
Access the applications by route
/angular
,/react
and/vue
.
There are more solutions on how to implement microfrontends in: Thinking in Microfrontend .