Branch out a micro-app from an app to improve load times


I have an existing Meteor app that let’s users create and manage widgets that they can later embed elsewhere. Essentially, once they have a widget, they can generate an iframe but, as we all know with Meteor, things can get very slow there. So as of right now, that embed takes ~10 seconds to load which isn’t great. Most of it probably has to do with the fact that Meteor loads ALL of the app on a route that really doesn’t need most of it.

I’d like to branch out the embed functionality to a different app that would communicate with the main DB and load up the widget FAST.

Looking for guidance in terms of how to set it up. There are some outdated boilerplates out there but I’d like to learn more as for the best approach I can take.

Current app:

"react": "^15.3.0",
"react-router": "^2.6.1",