9 lines
228 B
JavaScript
9 lines
228 B
JavaScript
|
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();
|