From c15a6f3ae6f98144815bd40a43ce8dd9afb7c3d9 Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Mon, 15 Nov 2021 10:30:44 +0000 Subject: [PATCH] Add conf.js --- conf.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 conf.js diff --git a/conf.js b/conf.js new file mode 100644 index 0000000..4da8f5b --- /dev/null +++ b/conf.js @@ -0,0 +1,12 @@ +const env = process.env; + +const config = { + db: { + host: env.DB_HOST, + user: env.DB_USER, + password: env.DB_PASSWORD, + database: env.DB_NAME, + }, +}; + +module.exports = config;