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.
- Host: GitHub
- URL: https://github.com/guillembonet/single-spa-parcel-example
- Owner: Guillembonet
- License: mit
- Created: 2019-11-15T12:35:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T01:37:40.000Z (over 3 years ago)
- Last Synced: 2024-07-30T20:17:51.548Z (almost 2 years ago)
- Topics: spa, vue, vuejs
- Language: JavaScript
- Homepage:
- Size: 3.03 MB
- Stars: 61
- Watchers: 5
- Forks: 28
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)