Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Uploading Files to MongoDB With GridFS - Node.js App

Traversy Media via YouTube

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

Reviews

Start your review of Uploading Files to MongoDB With GridFS - Node.js App

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.