feat(api): scaffold express server with /api/health endpoint

This commit is contained in:
lila 2026-03-21 10:17:53 +01:00
parent 04acd4b580
commit a0f008be74
4 changed files with 34 additions and 1 deletions

9
apps/api/src/server.ts Normal file
View file

@ -0,0 +1,9 @@
import { createApp } from "./app.js";
const PORT = Number(process.env["PORT"] ?? 3000);
const app = createApp();
app.listen(PORT, () => {
console.log(`Server listening on port ${PORT}`);
});