25 lines
368 B
JavaScript
25 lines
368 B
JavaScript
'uses strict';
|
|
/**
|
|
*
|
|
* User: Martin Donnelly
|
|
* Date: 2016-03-11
|
|
* Time: 10:22
|
|
*
|
|
*/
|
|
|
|
var pgp = require('pg-promise')();
|
|
|
|
var amazonCN = {
|
|
dbinstance:'silvrdb',
|
|
host: 'silvrdb.cipyprijvzsw.eu-west-1.rds.amazonaws.com',
|
|
port: 5432,
|
|
database: 'heat',
|
|
user: 'martind2000',
|
|
password: '1V3D4m526i'
|
|
};
|
|
|
|
const cn = amazonCN;
|
|
|
|
|
|
exports.dbConnection = pgp(cn);
|