import { createServer } from "node:http"; import app from "./app"; import { ensureSchema } from "./shared/db/pool"; import { env } from "./config/env"; const port = env.PORT; const server = createServer(app); async function bootstrap() { await ensureSchema(); server.listen(port, () => { console.log(`QRIS Soundbox Platform bootstrap ready on :${port}`); }); } void bootstrap();