In this section, we describe how to set up the Orchestrator either for test or prod stage as for locally running projects.
First, you’ll need to gather the following information about the product/app:
Ex. WhatsApp
⚠️ When working in prod environment, you should be making use of a CNAME.
Ex.
- Prod URL
- Test URL
Ex. @masivapp/masivapp-whatsapp
Ex. /whatsapp
Once you're done gathering the information above, you can go to the orchestrator application project and register the new product by editing the masivapp-root-config.js file in this way:
registerApplication({
name: "@masivapp/masivapp-whatsapp",
app: () => System.import("@masivapp/masivapp-whatsapp"),
activeWhen: ["/whatsapp"],
});
May Oasis be with you by deploying your micro frontend product to the test or production stage.
If you wish to deploy the changes either for prod or test environment, please check out