title: Using redis with node.js (express)
body: <p>I am learning node.js (and express framework) &amp; here is a basic newbie question about redis &amp; node.js. How to pass redis data to templates? What should I correct in my script, so I could display the value of <em>teststring</em> in a template?</p>
  
  <pre><code>app.get('/', function(req, res){
    res.render('index', {
      test: redisclient.get("teststring"),
    });
  });
  </code></pre>
  
  <p>Thanks in advance!</p>