/single-spa-parcel-example

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

Primary LanguageJavaScriptMIT LicenseMIT

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 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
  1. You can access the portal at 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