DEV Community


Discussion on: MongoDB Pictures

leandroandrade profile image
Leandro Andrade

In this case, I suggest to use a storage service like Amazon S3 to save your files and get the absolute path returned by S3 and then save them in your MongoDB.

Avoid to save binary files into database.