feat(lst): intial scafolding for the new system

This commit is contained in:
2025-02-16 19:07:03 -06:00
parent 5c5bce024c
commit 2e0253636e
34 changed files with 679 additions and 29 deletions

14
apps/server/index.ts Normal file
View File

@@ -0,0 +1,14 @@
import app from "./src/app";
const port = process.env.SERVER_PORT || 4000;
Bun.serve({
port,
fetch: app.fetch,
hostname: "0.0.0.0",
});
// await Bun.build({
// entrypoints: ["./index.js"],
// outdir: "../../dist/server",
// });
console.log(`server is running on port ${port}`);