diff --git a/config.js b/config.js new file mode 100644 index 0000000..8892d2a --- /dev/null +++ b/config.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; \ No newline at end of file