backend/data/dbConfig.js

6 lines
102 B
JavaScript

const pgp = require('pg-promise')();
const db = pgp(process.env.DATABASE_URL);
module.exports = db;