Node.js interest last 5 years

1. Introduction

 

Node.js is a cross-platform JavaScript run-time environment for executing JavaScript code server-side. As I said in my home page, Node is very useful when you make browser games or real time communication like chats. So let’s start with a simple “hello world” in order to get a first contact with node.

 

2. Configuring the development environment

 

There are different ways to develop web apps, but I will describe only one (Eclipse).

Step 1: Download and install Eclipse.

Step 2: Download and install Node.js.

Step 3: In Eclipse, go Help and click in “Eclipse Marketplace”, then install Node plugin for eclipse. (Nodeclipse for example)

 

3. Structure example

 

If we had all components installed, we can create a new project in eclipse.

So File > New Project > Node.js Express Project