Tuesday, 16 May 2017

storage solutions to upload and store multiple files with node.js and multer

I have a client/server app written in angular/node which provides multiple-files upload functionality using multer to handle the files embeded in the FormData object.

All is working just fine in local, then I've tried to deploy the app on Heroku and I found that writing files with node on the Heroku file system is not possible: the files are kept in main memory and will be lost when the Heroku Dyno restart, which happens on regular basis once a day.

Which options do I have? I would like to keep the multiple files handling solution using node + multer. Is there any free or cheap storage solution for this?



via revy

No comments:

Post a Comment