aboutsummaryrefslogtreecommitdiff
path: root/config/env.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/env.js')
-rw-r--r--config/env.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/env.js b/config/env.js
new file mode 100644
index 0000000..6d69000
--- /dev/null
+++ b/config/env.js
@@ -0,0 +1,6 @@
+require('dotenv').config();
+module.exports = {
+ port: process.env.PORT || 8080,
+ mongoUrl: process.env.DB_CONN || "mongodb://localhost/playground_db",
+ masterKey: process.env.APP_SECRET || "you-should-use-something-different"
+};