Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 922 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 922 Bytes

Overview

A simple basic hello world node js app.

Install Node.js

Install Node.js from https://nodejs.org/en/download/ I have installed it using Windows Installer (.msi) 64-bit (https://nodejs.org/dist/v6.10.0/node-v6.10.0-x64.msi) for my windows desktop

Open Node.js command prompt

Open Node.js command prompt so that it picks up the node executable start(windows) --> All Programs --> Node.js --> Node.js command prompt

Checkout project from Github

You probably might be aware of Github, so you can ignore and goto next step but if you are new to github, To go to your workspace and checkout the project from github $ cd C:\workspace
$ git clone https://github.com/devarajanv/node-js-basic.git

Edit/Run the javascript

Edit/Run the javascript file(hello-world.js). This is a simple java script code which prints text in console output file(hello-world.js). $ node hello-world.js

Output

Hello World