Skip to content

Instantly share code, notes, and snippets.

@shimont shimont/dbconfig.js
Last active Mar 22, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.