Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Node.js File Upload API with Express Tutorial
Play lesson

Node.js Tutorials for Beginners - Node.js File Upload API with Express Tutorial

4.0 (3)
30 learners

What you'll learn

This course includes

  • 15 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap Build a Node.js file upload API with Express in this backend web development tutorial. We'll create a simple Node.js REST API with an upload endpoint allowing us to upload files of any type we choose. 🚩 Subscribe ➜ https://bit.ly/3nGHmNn 🔗 Completed Source Code: https://github.com/gitdagray/node_file_uploader 🔗 Node.js Full Course for Beginners: https://github.com/gitdagray/node_js_resources 📬 Course Updates ➜ https://courses.davegray.codes/ Node.js File Upload API with Express Tutorial: (00:00) Intro (00:43) Welcome (01:09) Add dependencies (02:56) Basic server setup (04:04) Index.html route (04:43) Create the HTML file upload form (07:25) JavaScript to submit the files (12:09) Post route and fileUpload middleware (14:22) Test the server post route (16:21) filesPayloadExists middleware (18:29) fileSizeLimiter middleware (23:09) fileExtLimiter middleware (27:43) Import and apply all custom middleware (29:15) Test the middleware (31:14) Saving files to the server (33:49) Testing the file upload process ☕ Buy Me A Coffee: https://www.buymeacoffee.com/davegray 📚 Tutorial References: 🔗 NPM express-fileupload: https://www.npmjs.com/package/express-fileupload 👀 Visual Studio Code: https://code.visualstudio.com/ ✅ Follow Me: Github: https://github.com/gitdagray Twitter: https://twitter.com/yesdavidgray LinkedIn: https://www.linkedin.com/in/davidagray/ Blog: https://yesdavidgray.com Reddit: https://www.reddit.com/user/DaveOnEleven Was this Node.js File Upload tutorial helpful? If so, please share. Let me know your thoughts in the comments. #node #file #upload

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere