Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "use strict";
- import { Pool } from 'pg';
- import config from './../config';
- export default new Pool(
- config.db.database,
- config.db.user,
- config.db.password,
- config.db.details
- );
- 'use strict';
- export default config;
- config.db = {
- user: 'postgres',
- password: '047',
- database: 'Users',
- };
- config.db.details = {
- host: '127.0.0.1',
- port: 5432,
- dialect: 'postgres'
- };
- config.keys = {
- secret: '/jVdf='
- };
Add Comment
Please, Sign In to add comment