'use strict';

const path = require('path');
const serverRootPath = path.normalize(path.join(__dirname, '../../'));

module.exports = {
    development: {
        rootPath: serverRootPath,
        db: {
            port: 27017,
            domain: "localhost",
            name: "developer_scope",
            connection: 'mongodb://localhost:27017/developer_scope'
        },
        port: 3000
    },
    production: {
        db: {
            port: process.env.MONGO_DB_PORT,
            domain: process.env.MONGO_DB_DOMAIN,
            name: process.env.MONGO_DB_NAME,
            connection: `${process.env.MONGODB_DB_URL}${process.env.MONGO_DB_NAME}`
        },
        port: process.env.port,
        rootPath: serverRootPath
    }
};
@@ -182,16 +182,36 @@
 otPath,%0A
+        port: 3000,%0A
         
@@ -388,36 +388,16 @@
        %7D
-,%0A        port: 3000
 %0A    %7D,%0A
@@ -410,24 +410,95 @@
 oduction: %7B%0A
+        port: process.env.NODE_PORT,%0A        rootPath: serverRootPath,%0A
         db: 
@@ -666,11 +666,8 @@
 on: 
-%60$%7B
 proc
@@ -686,120 +686,35 @@
 ODB_
-DB_URL%7D$%7Bprocess.env.MONGO_DB_NAME%7D%60%0A        %7D,%0A        port: process.env.port,%0A        rootPath: serverRootPath
+CONNECTION_STRING%0A        %7D
 %0A   

Update server.config