Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Create a Node.js application to upload files of various types to a MongoDB database using GridFS. Learn how to implement file storage with Multer, the GridFS storage engine, and gridfs-stream while utilizing the EJS template engine. Explore the process of setting up MongoDB, creating connections, implementing GridFS streams, and performing file operations such as uploading, retrieving, displaying, and deleting. Follow along with the step-by-step tutorial to build a functional file management system, including refactoring code for improved efficiency and handling different file types.
Syllabus
Intro
Overview
MongoDB Setup
MongoDB Implementation
MongoDB URI
Create MongoDB Connection
Create GridFS Stream
Refactor Code
Uploading File
Get Files
Get Single File
Display Images
Delete
Delete Request
GridFS File Stream
Taught by
Traversy Media