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

My use case is to store data for use in simulation. Example will be the OD matrix which size can be a few hundred mb in cvs format.
If there are better ways to store the data, do advice.

The https endpoint is created in Atlas. Atlas supports installing node.js modules but for gridfs module, its not able to install it’s dependencies without issue.