Using MongoDB in Node.js applications is extremely popular these days. One of the popular features of MongoDB is GridFS, the MongoDB’s filesystem interface that allows us to store and retrieve files. This video explains one of the ways to upload a file from browser to MongoDB’s GridFS running on Cloud Foundry and then retrieve it back from GridFS and display it back in the browser.
[youtube fa9Ca4eUr0c]
Reference blog: http://blog.cloudfoundry.com/2012/09/11/node-activity-streams-app-3/