Scaffold Docker-only Node 24 + TypeScript EJS web backend
This commit is contained in:
7
src/server.ts
Normal file
7
src/server.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { createApp } from "./app.ts";
|
||||
|
||||
const port = Number(process.env["PORT"] ?? 3000);
|
||||
|
||||
createApp().listen(port, () => {
|
||||
console.log(`Listening on http://localhost:${port}`);
|
||||
});
|
||||
Reference in New Issue
Block a user