Hey,
I'm currently working on a project which uses node.js. MongoDB and
Mongoose to persist user data and picture metadata.
We are planning to move our pictures from the filesystem into mongo's
GridFS and would like to store them together with their metadata. The
mongodb-native driver already supports storing binary data and some
metadata in GridFS, but the interface is a bit ugly. I've put together
a snippet using Step and the mongodb-native driver to add picture to
GridFS:
https://gist.github.com/747778
Are you planning to support GridFS within Mongoose? It would be great
to have an API which lets us create nice models for binary files and
their metadata similar to the "normal" model API of Mongoose.
And by the way: Keep up the awesome work, guys.
--
pfleidi