Begin adding support for PostgreSQL database storage

main
sudoer777 2021-11-15 10:39:03 -07:00
parent 8b1bd3bc13
commit 95d0979f53
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
const app = require('../app');
const { Client } = require('pg');
if (process.env.NODE_ENV !== 'production' || process.env.NODE_ENV !== 'testing') {
require('dotenv').config();
}
const client = new Client();
client.connect();