initial commit

This commit is contained in:
fred 2025-07-08 10:40:49 -07:00
commit cd234531b9
37 changed files with 5529 additions and 0 deletions

14
backend/test.js Normal file
View file

@ -0,0 +1,14 @@
const db = require('./db');
async function testConnection() {
try {
await db.raw('SELECT 1+1 as result');
console.log('Database connected successfully!');
} catch (error) {
console.error('Database connection failed:', error);
} finally {
await db.destroy();
}
}
testConnection();