import { buildApp } from './app.js'; import { env } from './config/env.js'; const app = buildApp(); async function start() { try { await app.listen({ port: env.PORT, host: env.HOST }); console.log(`🚀 CoaxysPanel control plane backend listening on http://${env.HOST}:${env.PORT}`); } catch (error) { console.error(error); process.exit(1); } } start();