aheckmann / gridform

Stream formidable uploads into MongoDB GridFS
http://aheckmann.github.com/gridform/
MIT License
59 stars 17 forks source link

Example without using the file system #4

Closed toddhickerson closed 11 years ago

toddhickerson commented 11 years ago

An example of using gridform/gridfs-stream to save (from form upload) directly to mongodb and then read from mongo and send on a response would be really great. The examples I've seen on gridfs-stream all seem to involve a local file system, which I want to avoid as cloud web servers don't have that available.

I am using Mongoose.js, also.

Whatever you can provide would be much appreciated.

Thank you.

toddhickerson commented 11 years ago

After getting the example working locally, I see that it does upload to the database with the file system. Thanks!