Node.js File Upload API with Express Tutorial

Node.js File Upload API with Express Tutorial

Dave Gray via YouTube Direct link

fileExtLimiter middleware

12 of 16

12 of 16

fileExtLimiter middleware

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Node.js File Upload API with Express Tutorial

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome
  3. 3 Add dependencies
  4. 4 Basic server setup
  5. 5 Index.html route
  6. 6 Create the HTML file upload form
  7. 7 JavaScript to submit the files
  8. 8 Post route and fileUpload middleware
  9. 9 Test the server post route
  10. 10 filesPayloadExists middleware
  11. 11 fileSizeLimiter middleware
  12. 12 fileExtLimiter middleware
  13. 13 Import and apply all custom middleware
  14. 14 Test the middleware
  15. 15 Saving files to the server
  16. 16 Testing the file upload process

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.