Security: Move database credentials to separate config file

This commit is contained in:
2025-12-13 19:29:49 +11:00
parent 858a5e52d4
commit 3e8eed4eaf
4 changed files with 165 additions and 10 deletions

13
db.config.example.js Normal file
View File

@@ -0,0 +1,13 @@
// Database Configuration File
// IMPORTANT: This file contains sensitive credentials and should NEVER be committed to git
// Copy this file to db.config.js and update with your actual database credentials
module.exports = {
host: 'your-database-host.com',
user: 'your-database-username',
password: 'your-secure-password',
database: 'your-database-name',
waitForConnections: true,
connectionLimit: 10,
queueLimit: 0
};