Last active
May 28, 2020 15:10
-
-
Save thoughtspeed7/19b5bcf912baf79c0c933b1f720373c8 to your computer and use it in GitHub Desktop.
Node.js Best Practices - Smarter Ways to Manage Config Files and Variables
This file contains hidden or 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
{ | |
"development": { | |
"config_id": "development", | |
"app_name": "my app", | |
"app_desc": "my app desc", | |
"node_port": 3000, | |
"json_indentation": 4, | |
"database": "my-app-db-dev" | |
}, | |
"testing": { | |
"config_id": "testing", | |
"database": "my-app-db-test" | |
}, | |
"staging": { | |
"config_id": "staging", | |
"node_port": 8080, | |
"database": "my-app-db-stag" | |
}, | |
"production": { | |
"config_id": "production", | |
"node_port": 8080, | |
"database": "my-app-db-prod" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment