text: const path = require('path')
  
  // __dirname is the current directory
  let rootPath = path.normalize(path.join(__dirname, '/../../'))
  
  module.exports = {
    development: {
      rootPath: rootPath,
      db: 'mongodb://localhost:27017/blogsystem',
      port: 1337
    },
    production: {
      rootPath: rootPath,
      db: process.env.MONGO_DB_CONN_STRING,
      port: process.env.port
    }
  }
  