initial commit

Change-Id: I5b7bb3df064cd550520c44c805fd011e4e2691c7
This commit is contained in:
Scaffolder
2026-06-25 08:50:30 +00:00
commit 80247f774b
14 changed files with 688 additions and 0 deletions

11
scripts/check-db.js Normal file
View File

@@ -0,0 +1,11 @@
// DB 연결 빠른 확인: `npm run db:check`
import { pingDb, pool } from "../src/db.js";
try {
console.log("DB OK:", await pingDb());
} catch (e) {
console.error("DB FAIL:", e.message);
process.exitCode = 1;
} finally {
await pool.end();
}