Last active
March 22, 2019 14:57
-
-
Save shimont/071ec7899846e0ec838b8a70761f6ff3 to your computer and use it in GitHub Desktop.
node-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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