Node.js quick start

Hello World app

Create a directory for your app:
$ mkdir your-app-name
$ cd your-app-name

Create a file called app.js with the following content

var http = require('http');
var server = http.createServer(function(req, res) {
  res.writeHead(200, { 'Content-Type': 'text/plain' });
  res.end('Hello world!');

Copy your app.js to EvenNode through FTP or git deployment and open the URL of your app.
Restart your app and you should see a message Hello world!

Main script

Your app is started with npm start in case package.json is available.
Otherwise we look for app.js or server.js file to run your app.