mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-20 05:38:17 +02:00
feat: Implement core application dashboard, add todo and task management API, and include database testing utilities.
This commit is contained in:
1 parent
b1f58a2f13
commit
ef6a8c7b4a
5 files changed
+84
-24
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
const { pool } = require('./config/database');
|
||||
pool.query('SELECT 1', (err, res) => {
|
||||
if (err) {
|
||||
console.error('DB Connection Error:', err);
|
||||
process.exit(1);
|
||||
} else {
|
||||
console.log('DB Connection Success');
|
||||
process.exit(0);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user