Skip to content

Instantly share code, notes, and snippets.

@shimont
Last active March 22, 2019 14:57
Show Gist options
  • Save shimont/071ec7899846e0ec838b8a70761f6ff3 to your computer and use it in GitHub Desktop.
Save shimont/071ec7899846e0ec838b8a70761f6ff3 to your computer and use it in GitHub Desktop.
node-config
$ npm install config
$ mkdir config
$ vi config/default.json
{
"Customer": {
"dbConfig": {
"host": "localhost",
"port": 5984,
"user": "dbuser",
"pass": "4jf8235D4x#",
"dbName": "customers"
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment