phase-6: typescript introduction

This commit is contained in:
Kazuma
2026-06-04 22:16:48 -04:00
committed by Kazuma
parent de8427d578
commit 2b785aa861
69 changed files with 2323 additions and 1036 deletions
+14
View File
@@ -0,0 +1,14 @@
import 'dotenv/config';
import { buildApp } from '../server/server/app.js';
const PORT = process.env.PORT ?? 3000;
const HOST = process.env.HOST ?? '0.0.0.0';
const app = await buildApp();
try {
await app.listen({ port: Number(PORT), host: HOST });
} catch (err) {
app.log.error(err);
process.exit(1);
}