An open API service indexing awesome lists of open source software.

https://github.com/guillembonet/single-spa-parcel-example

An example of web app built with multiple microfrontends running in different VM's using the single-spa framework.
https://github.com/guillembonet/single-spa-parcel-example

spa vue vuejs

Last synced: 12 months ago
JSON representation

An example of web app built with multiple microfrontends running in different VM's using the single-spa framework.

Awesome Lists containing this project

README

          

# single-spa-parcel-example

This project is an example of web app built with multiple microfrontends running in different VM's using the [single-spa](https://github.com/CanopyTax/single-spa) framework.

## To run this example in development mode use:
1. Have a Mongo DB running in port **27017**
2. Inside each folder (sample-api, sample-api2, sample-vue, sample-react, sample-single-spa) run:
```
npm install
npm run serve
```
3. You can access the portal at [http://localhost:5000/index.local](http://localhost:5000/index.local)

## To run this example in production use:
### inside the environment folder:
```
docker-compose build
docker-compose up
```
You can access the portal at [http://localhost:5001](http://localhost:5001)