backend/data/dbConfig.js

6 lines
102 B
JavaScript
Raw Permalink Normal View History

2020-05-01 15:32:46 +00:00
const pgp = require('pg-promise')();
const db = pgp(process.env.DATABASE_URL);
module.exports = db;