Right now I have server side only code that performs a task.
I’d like to break off a portion of that code and turn it into an API that I can, again on the server side, “dynamically import” or “remotely import” this code, when I need the functionality of the API, from a some place like a github repo.
I need to set this up where I can test locally without having to deploy the code to github, then when ready, deploy this API to the github repo and import it on the server when needed.
Meteor would import the remote code from github like a module at build time. I don’t want the code to be accessable during development, I only want the code to be imported like a module from a private github account.
I’m trying to hire a developer to help me with a few things, and I don’t want them to have access to my entire API. So if I could just break out my API into a module and have Meteor load it at build time, it could solve my problem.