Add Backend website server.

This commit is contained in:
2026-04-11 23:22:19 +00:00
parent 25426275e3
commit e7b55f873b
7 changed files with 104 additions and 13 deletions
+9
View File
@@ -0,0 +1,9 @@
import { createServer } from 'node:http';
import { handler } from '../build/handler.js';
const port = process.env.PORT || 3000;
const server = createServer(handler as any);
server.listen(port, () => {
console.log(`Bun Server is listening on http://localhost:${port}`);
});