aboutsummaryrefslogtreecommitdiff
path: root/interface/config
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-04-25 14:52:09 -0400
committerBobby <[email protected]>2022-04-25 14:52:09 -0400
commitfc6c6db3dd3864049a1be73953c06cd244138c33 (patch)
tree9ffbf604355ded8681c38634670816e8093772b4 /interface/config
parentc9d6c587a56e5e7420f48579894831cdb05756d9 (diff)
downloadWelfare-Schemes-DMQL-fc6c6db3dd3864049a1be73953c06cd244138c33.tar.xz
Welfare-Schemes-DMQL-fc6c6db3dd3864049a1be73953c06cd244138c33.zip
basic api using postgres and sequelize
Diffstat (limited to 'interface/config')
-rw-r--r--interface/config/db.config.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface/config/db.config.js b/interface/config/db.config.js
new file mode 100644
index 0000000..9118d6c
--- /dev/null
+++ b/interface/config/db.config.js
@@ -0,0 +1,21 @@
+module.exports = {
+ // The name of the database
+ database: 'WelfareSchemes',
+ // The username used to connect to the database
+ username: 'postgres',
+ // The password used to connect to the database
+ password: 'lucifer',
+ // The dialect of the database you are connecting to
+ dialect: 'postgres',
+ // The host of the database
+ host: 'localhost',
+ // The port of the database
+ port: 5432,
+ // Setup pool of connections to the database
+ pool: {
+ max: 5,
+ min: 0,
+ acquire: 30000,
+ idle: 10000
+ }
+};