feat: add sqlstring and supports-color modules
- Introduced sqlstring module for SQL escape and formatting. - Added supports-color module to detect terminal color support. - Created dashboard and login views with Bootstrap styling. - Implemented user schema in SQL with mock data for testing.
This commit is contained in:
10
backend/node_modules/mysql2/lib/create_connection.js
generated
vendored
Normal file
10
backend/node_modules/mysql2/lib/create_connection.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
const Connection = require('./connection.js');
|
||||
const ConnectionConfig = require('./connection_config.js');
|
||||
|
||||
function createConnection(opts) {
|
||||
return new Connection({ config: new ConnectionConfig(opts) });
|
||||
}
|
||||
|
||||
module.exports = createConnection;
|
Reference in New Issue
Block a user