Hi, i have realized most web sites and apps use S3 for file storage . For an Express MongoDB app, where does it fit in? Specifically in communication with MongoDB for references to S3?
In case the above question isn't clear, basically I want to know the part S3 plays in a typical Express + MongoDB backend?
IS THIS THE TYPICAL SETUP
s3.config();
api('/save', function(){
var fileUrl;
var file = request.data.file[0];
s3.uploud(file)
.then(function(url){
fileUrl = url;
})
mongo.set({'file':fileUrl);
})
No responses yet.