How do you configure environment specific configuration of a nodejs app
1) Using Config module Install in your app directory, and edit the default config file. $ npm install config $ mkdir config $ vi config/default.json { // Customer module configs " Customer " : { " dbConfig " : { " host " : " localhost " , " port " : 5984 , " dbName " : " customers " } , " credit " : { " initialLimit " : 100 , // Set low for development " initialDays " : 1 } } } Edit config overrides for production deployment: $ vi config/pro...