From edd995fd5f92bba8221c7b9384ad0cb7c59794e3 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 25 Apr 2013 01:21:07 +0200 Subject: moved express config to own file. created configfile. --- config/config.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 config/config.js (limited to 'config/config.js') diff --git a/config/config.js b/config/config.js new file mode 100644 index 0000000..8312ddc --- /dev/null +++ b/config/config.js @@ -0,0 +1,15 @@ +var path = require('path') + , rootPath = path.normalize(__dirname + '/..'); + + +module.exports = { + development: { + db: 'mongodb://localhost/test', + root: rootPath, + app: { + name: 'Divid' + } + } +} + + -- cgit v1.2.3