first commit

This commit is contained in:
2026-06-26 16:56:24 +09:00
commit 3a23660576
18 changed files with 2539 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();
}