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

YouTube

Node.js File Upload API with Express Tutorial

Dave Gray via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This intermediate tutorial builds a Node.js REST API with Express for uploading multiple files through a single HTML form. It covers upload middleware, file validation, reusable custom middleware, and saving files to the server.

Syllabus

Intro
Welcome
Add dependencies
Basic server setup
Index.html route
Create the HTML file upload form
JavaScript to submit the files
Post route and fileUpload middleware
Test the server post route
filesPayloadExists middleware
fileSizeLimiter middleware
fileExtLimiter middleware
Import and apply all custom middleware
Test the middleware
Saving files to the server
Testing the file upload process

Taught by

Dave Gray

Reviews

Start your review of Node.js File Upload API with Express Tutorial

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.