Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
/ mongodb-gridfs Public archive

📤 Demonstrating the usage of MongoDB's GridFS file storage system.

License

Notifications You must be signed in to change notification settings

andras-adam/mongodb-gridfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A simple Express.js server showcasing the usage of GridFS, the current MongoDB (ver. 3.x) specification for storing and retrieving larger files.

GridFS

GridFS allows developers to store files in MongoDB that exceed the 16 MB limit of BSON documents by dividing them into multiple chunks. You can read more about them here.

Credit

This project is based on Brad Traversy's mongo_file_uploads repository, but here we use MongoDBs native functions instead of third party packages for streaming files to and from the database. This project also utilizes the newer GridFSBucket API, instead of the now depricated GridStore used in the aforementioned third party packages.

About

📤 Demonstrating the usage of MongoDB's GridFS file storage system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published