import pg from 'pg'; | |
const client = new pg.Client({ | |
host: 'localhost', | |
user: 'postgres', | |
port: 5432, | |
}); | |
export default client; | |
import pg from 'pg'; | |
const client = new pg.Client({ | |
host: 'localhost', | |
user: 'postgres', | |
port: 5432, | |
}); | |
export default client; | |