title: In nodeJS how to use database environment when NODE_ENV calls
body: <p>hi am new to nodejs environment. </p>
  
  <p>am using nodeJs + compoundjs. </p>
  
  <p>am having three database environment development. production and test. my question in when i  run the NODE_ENV=production node . command, all url's,port number and other things should get from   production.js. when i shift the node environment by giving command NODE_ENV=development node . all things need to run should get from development.js. </p>
  
  <p>any notes for this also helpful for me. </p>
  
  <p>if anybody has any idea please share with me.  </p>