Image sharing on deployd

I've recently begun experimenting with Deployd. It is (kind of) similar to meteor.

This may be amateurish question, but what happens if my collection consists of images?

How will I upload it to MongoDB @ deployd dashboard?

Answers


The only real way to use the Collection Resource Type to do this right now would be to base64 encode the image and store it as a string property. There are some limitations and performance issues with base64 images though. Alternatively, @dallonf has created an Amazon S3 resource to make it easy to integrate deployd apps with S3. http://docs.deployd.com/docs/using-modules/official/s3.md

There have been a lot of requests for storing binary files in collections, and hopefully someone (core committer or otherwise) can work on this after the forthcoming deployd release which includes significant improvements to the module API. This Github issue is worth watching: https://github.com/deployd/deployd/issues/106


I created a module for deployd to upload files (images included). https://github.com/NicolasRitouet/dpd-fileupload It lets you store the files in a local folder and in a collection to query them.


Need Your Help

Finding the similarity of two String arrays

java arrays string compare

I apologize if there is a similar question asked before but only one I could find was How to find similar patterns in lists/arrays of strings