noob

Node for noobs

noob runner

npm install -g noob

To tried it out go into some directory and create the following file as server.js:

app.get('/', function(reqres) {
  console.log('Got request.');
  res.send(req.url);
});
 
http.createServer(app).listen(function() {
  var port = this.address().port;
  console.log('http://localhost:'+port);
});

Run with noob server.js

A: No.