AI, Data Science & Cloud Certificates from Google, IBM & Meta
Build GenAI Apps from Scratch — UCSB PaCE Certificate Program
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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