Uploading complex Node.js packages into node_modules folder

Hi, working with the Node.js scripting capability, it appears one can upload single files into the web/scripts folder. A lot of packages one might want to require() are complex though and can even include nested node_module folders. Is there a way to upload a whole folder into the node_modules folder? Perhaps by zipping it and then un-zipping it once it is uploaded?

Thanks.

Hi Rick,

We’re adding the unzipping function in the upcoming release. Until then the only way to do a bunk upload is by using git integration and then committing your local files to the Backendless repository:
https://backendless.com/feature-40-enabling-git-support-for-your-backendless-file-storage/

Regards,
Mark

Thanks for that update. Do you have a rough idea when the next release with this feature will be?

In the meantime, I watched the recorded video from your last webinar about securing Backendless applications and that, combined with the answer to this question, raised one additional question. If we use the git integration to upload Node.js script and node_modules dependencies to Backendless, and we use the built in user, roles, and individual file permissions to control who can execute the scripts, are there configuration rules to limit what users can upload files through the Git integration?

Thanks.

Hi Rick,

It should be within 1-2 months timeframe.

As for the bulk upload via git, the users of your app cannot do it. The feature is allowed only for the owner of the account (that is you for your Backendless backend).

Regards,
Mark