text: var express =   require('express'),
      http =      require('http'),
      server =    http.createServer(app);
  
  var app = express();
  
  const redis =   require('redis');
  const io =      require('socket.io');
  const client =  redis.createClient();
  
  server.listen(3000, 'localhost');
  console.log("Listening.....");
  
  io.listen(server).on('connection', function(client) {
      const redisClient = redis.createClient();
  
      redisClient.subscribe('commnde.update');
  
      console.log("Redis server running.....");
  
      redisClient.on("message", function(channel, message) {
          console.log(message);
          client.emit(channel, message);
      });
  
      client.on('disconnect', function() {
          redisClient.quit();
      });
  });