Message from JavaScript discussions

September 2018

— Yeah


How do you store files in mongo grid? Using mongoose with multer and multer-gridfs-storage or some other way?

— Traversy media has a good tutorial on that

— Lemme get it for you

— Yea saw that

— Didn't help

— He is using multer-gridfs-storage and gridfs-stream only

— Okay.. lemme check a simple example and give you

— I actually stored without mongoose

— Okay 😁
I was storing images in directory and was saving path to images in db + serving that directory as a static using express. Just wanna give a try to gridfs

Message permanent page

— Sure I will wait :D
And try on my own at a same time and see if I can get it working :3

— 😂😂.. very clever