Initial commit: Club DynaSQY

This commit is contained in:
2026-08-23 09:04:47 +00:00
commit 0875890dc7
145 changed files with 16947 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const mysql = require('mysql2/promise');
require('dotenv').config();
const pool = mysql.createPool({
host: process.env.DB_HOST || 'localhost',
port: parseInt(process.env.DB_PORT, 10) || 3306,
user: process.env.DB_USER || 'club_dynasqy',
password: process.env.DB_PASSWORD || '',
database: process.env.DB_NAME || 'club_dynasqy',
charset: 'utf8mb4',
waitForConnections: true,
connectionLimit: 10,
queueLimit: 0,
});
module.exports = pool;