Initial commit

This commit is contained in:
Alexander
2026-02-14 20:36:34 +03:00
commit bc7441db20
15 changed files with 2107 additions and 0 deletions

14
src/index.ts Normal file
View File

@@ -0,0 +1,14 @@
import express from "express";
import router from "./router";
import { env } from "./utils/env";
const app = express();
app.set("trust proxy", true);
// ⚠ Do NOT use express.json() globally for streaming proxy
app.use(router);
app.listen(parseInt(env.PORT), () => {
console.log(`Server running on port ${env.PORT}`);
});