Import source: backend/src/index

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:09:14 +03:30
parent 8c6f7d8849
commit e33adbc2c7
+16
View File
@@ -0,0 +1,16 @@
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();