var express = require('express');
var app = express();

var redis = require("redis").createClient();


app.get('/', function (req, res) {
  client.incr("visitors") // increment visitors
  client.get("visitors", function(err, value) {
    res.send('Hello visitor number ' + value + '!');
});

var server = app.listen(process.env.PORT || 6379, function () {

  var host = server.address().address;
  var port = server.address().port;

  console.log('Example app listening at http://%s:%s', host, port);

});
@@ -45,24 +45,25 @@
 express();%0A%0A
+%0A
 var redis = 
@@ -136,56 +136,8 @@
 ) %7B%0A
-  client.incr(%22visitors%22) // increment visitors%0A
   cl
@@ -150,16 +150,13 @@
 et(%22
-visitors
+Hello
 %22, f
@@ -172,21 +172,19 @@
 rr, 
-value) 
+reply)
 %7B%0A  
-  
+%09
 res.
@@ -199,40 +199,24 @@
 llo 
-visitor number ' + value + '!');
+' + reply);%0A  %7D)
 %0A%7D);
@@ -427,11 +427,13 @@
 port);%0A%0A
-
 %7D);
+%0A%0A

revert to hell world example