How to create an https endpoint that can store files using GridFS

Hey @shan,

Though MongoDB’s drivers do support file storage directly within the database using GridFS, typically we’d recommend storing files somewhere like S3 and storing the associated metadata in MongoDB.

Is there a particular use case that you’re exploring? What types of files are you storing and are you looking to interact with them beyond just basic “storage and retrieval”?

If you can share further insight as to your use case it would help us guide you more effectively :slight_smile: