Stage after merging with project files

This commit is contained in:
Stan
2026-04-09 19:27:10 +02:00
parent d9f0b21b10
commit 0c74a75126
25 changed files with 1120 additions and 197 deletions
+21
View File
@@ -0,0 +1,21 @@
import { Router } from 'express';
import { query } from '../db/pool.js';
import { asyncHandler } from '../utils/asyncHandler.js';
const router = Router();
router.get(
'/',
asyncHandler(async (_req, res) => {
await query('SELECT 1 AS ok');
res.json({
status: 'ok',
service: 'check-list-poc-api',
database: 'connected'
});
})
);
export default router;