Node is very powerful and light weight server for web application and its speed is also very fast as compare to PHP server. In this post i am going to explain you how to upload image in node.js express. Express is most useful framework for node for web application most of node based web application use Express. This is very easy to understand please follow steps to upload your image.

Node image upload

Step 1. Before you start you need to install formidable module using npm from official site formidable. Run command on your prompt

Step 2. Create your image upload form inside your expressApp > views > imageUpload.jade. Make sure add this file in your routes.

Step 3. Now final step where we handle upload image. In below code we can handle image upload

You also add some extra thing in it like show progress, error etc. This is simple and easy way to upload image upload.