Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Future-Proof Your Career: AI Manager Masterclass
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