diff options
| author | Bobby <[email protected]> | 2022-05-01 01:02:38 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-01 01:02:38 -0400 |
| commit | b0b1938f0e2ae2d159f0a616f8043d0b7f24f2eb (patch) | |
| tree | 71ed919b888e83fb49d619d1ba338dcba43b245c /interface/config/db.config.js | |
| parent | fd8acf8d1b04368763a97d1452565aa71dcc118a (diff) | |
| parent | d527bddaeb3083d2a5ec787626e512eb45d3a967 (diff) | |
| download | Welfare-Schemes-DMQL-b0b1938f0e2ae2d159f0a616f8043d0b7f24f2eb.tar.xz Welfare-Schemes-DMQL-b0b1938f0e2ae2d159f0a616f8043d0b7f24f2eb.zip | |
Merge pull request #4 from luciferreeves/main
Main page changes
Diffstat (limited to 'interface/config/db.config.js')
| -rw-r--r-- | interface/config/db.config.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/interface/config/db.config.js b/interface/config/db.config.js index 9118d6c..ea90d0c 100644 --- a/interface/config/db.config.js +++ b/interface/config/db.config.js @@ -1,14 +1,15 @@ +require('dotenv').config(); module.exports = { // The name of the database - database: 'WelfareSchemes', + database: process.env.DATABASE, // The username used to connect to the database - username: 'postgres', + username: process.env.USERNAME, // The password used to connect to the database - password: 'lucifer', + password: process.env.PASSWORD, // The dialect of the database you are connecting to dialect: 'postgres', // The host of the database - host: 'localhost', + host: process.env.HOST, // The port of the database port: 5432, // Setup pool of connections to the database |
