Monorepo that contains a Server, Storybook and MFE Packages. The idea is that one domain will have need of a single server and a single storybook that will serve all of the MFE packages under it.
$ git clone https://github.com/SketchLagoon/create-rs-domain.git
$ cd create-rs-domain
$ yarn install
$ yarn start:all
$ git clone https://github.com/SketchLagoon/create-rs-domain.git
$ cd create-rs-domain
$ yarn install
$ cd package-name-here
- server
- storybook
- packages/example-feature-package-one
- packages/example-feature-package-two
$ yarn launch
ctrl + c
will not end processes on exit, use the custom kill:all script instead
$ yarn kill:all
Ports will change as we mold each package into the desired product we want them to be - right now the example apps under packages and storybook are just clones of create-rs-app
Server
- Express Server, port 8000
Storybook
- Storybook, port 1001
- Federated Modules Server, port 1002
Packages/example-feature-package-one
- Storybook, port 2001
- Federated Modules Server, port 2002
Packages/example-feature-package-two
- Storybook, port 3001
- Federated Modules Server, port 3002