Started to build out the app. Its got a basic set of features and it should really be in VC

This commit is contained in:
Max G
2019-07-19 20:51:57 +00:00
parent dbc3e5428c
commit 61754fe290
513 changed files with 81139 additions and 0 deletions

16
server/config/database.js Normal file
View File

@@ -0,0 +1,16 @@
//Import mysql2 package
const mysql = require('mysql2');
// Create the connection pool.
const pool = mysql.createPool({
host: 'localhost',
user: 'dev',
password: "LazaLinga&33Can't!Do!That34",
database: 'application',
waitForConnections: true,
connectionLimit: 20,
queueLimit: 0
});
//Export the pool for user elsewhere
module.exports = pool