Initial commit: courtlab tactical board with team management and MP4 export

This commit is contained in:
2026-09-08 12:22:20 +09:00
commit d2e39a452e
43 changed files with 7812 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { buildServer } from './app.js';
import { loadConfig } from './config.js';
const config = await loadConfig();
const { port, host } = config.server;
const app = await buildServer({ config });
try {
await app.listen({ port, host });
console.log(`court.lab server listening on http://${host}:${port}`);
const shutdown = async () => { try { await app.close(); } finally { process.exit(0); } };
process.once('SIGTERM', shutdown); process.once('SIGINT', shutdown);
} catch (error) {
app.log.error(error); await app.close().catch(() => {});
process.exitCode = 1;
}