title: app.get('env') usage in localhost and production
body: <pre><code>var express = require('express');
  var app = express();
  var db_url;
  if(app.get('env') == "development"){
   db_url = 'mongodb://127.0.0.1:27017/localhost';
  }else{
   db_url = 'something else';
  }
  </code></pre>
  
  <p><code>console.log(app.get('env'));</code></p>
  
  <p>What does <code>app.get('env')</code> in express means? I'm seeing it still print <code>development</code> when I deploy my code to live server.</p>