'uses strict'; /** * * User: Martin Donnelly * Date: 2016-03-11 * Time: 10:22 * */ var pgp = require('pg-promise')(); var cn = { host: 'localhost', port: 5432, database: 'oBrand', user: 'obrand', password: 'obrand' }; exports.dbConnection = pgp(cn);