mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
project restructuring
This commit is contained in:
12
backend/apis/nodejs/src/utils/knex_config.js
Normal file
12
backend/apis/nodejs/src/utils/knex_config.js
Normal file
@ -0,0 +1,12 @@
|
||||
const knexInstance = require('knex')({
|
||||
client: 'pg',
|
||||
connection: {
|
||||
host: process.env.POSTGRES_SERVER,
|
||||
user: process.env.POSTGRES_USERNAME,
|
||||
password: process.env.POSTGRES_PASSWORD,
|
||||
port: process.env.POSTGRES_PORT,
|
||||
database: 'Blink'
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = knexInstance;
|
Reference in New Issue
Block a user