diff --git a/config/config.js b/config/config.js new file mode 100644 index 0000000..c5e0862 --- /dev/null +++ b/config/config.js @@ -0,0 +1,11 @@ +const env = process.env.NODE_ENV || 'development' + +const config = { + common: { + port: process.env.PORT || 5000 + }, + development: {}, + production: {} +} + +export default Object.assign({}, config.common, config[env])