3 ms·
Just finished building a drag and drop uploader feature for http://commando.io http://commando.io. I went back and forth between storing files in S3, on disk, o
by nodesocket 14y ago
Just finished building a drag and drop uploader feature for http://commando.io http://commando.io. I went back and forth between storing files in S3, on disk, or using database backed storage. Unfortunately CORS was not released yet, because if it was, I would have gone with S3.
I went MongoDB + GridFS. It has worked out well so far. Really like that I can store the meta-data right with the binary data in MongoDB, and can query and filter directly on the meta-data. Also, using a MongoDB replica set, I get automatic redundancy of files.
I made a quick demo video of the upload feature showing drag & drop, and the files interface, check it out if you please: http://www.youtube.com/watch?v=ru7YZ2E65YU http://www.youtube.com/watch?v=ru7YZ2E65YU