I would like to know how to store files into mongo… I am using angular on the front end… How do I set up my post and get methods to include the createStream and writeStream?
Hi,
Depending on your application use case, you may utilise MongoDB GridFS to store and retrieve files.
See also:
To learn more on MEAN stack, I would also suggest to check out a free online course M101x: Introduction to MongoDB using the MEAN stack.
Regards,
Wan