Starting With Node on Windows

Hello World is good way to go with any new language/framework in programming world. Today we will start with Node.js which takes javascript to server side.

Setup
  1.      1. Download Node from here
  2.      2. Add a new environment variable NODE_HOME and also add this variable in windows PATH
Thats all! Now you are ready to rock and roll.


Hello World - Console

console.log("Hello World"); Save this line as Hello-colsole.js



Run it from windows command line
>node Hello-cosole.js
Hello World          

Comments

Popular posts from this blog

SSIS Package : Export Data from Database, Daily to New Excel Without Using Script Task

Spring Data Reactive MongoDb :: Date Aggeration with Timezone

Getting Started With ForkJoinPool - Map & Reduce of Java