Production readiness hardening and ops tooling
This commit is contained in:
@ -2,6 +2,7 @@ import { createServer } from "node:http";
|
||||
import app from "./app";
|
||||
import { ensureSchema } from "./shared/db/pool";
|
||||
import { env } from "./config/env";
|
||||
import { logger } from "./shared/services/logger";
|
||||
|
||||
const port = env.PORT;
|
||||
|
||||
@ -11,7 +12,9 @@ async function bootstrap() {
|
||||
await ensureSchema();
|
||||
|
||||
server.listen(port, () => {
|
||||
console.log(`QRIS Soundbox Platform bootstrap ready on :${port}`);
|
||||
logger.info("server_started", {
|
||||
port
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user