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