Initial random app template with Nixpacks

This commit is contained in:
Kerboul
2026-03-13 01:39:57 -07:00
commit 3bc49c37b4
6 changed files with 920 additions and 0 deletions

15
server.js Normal file
View File

@@ -0,0 +1,15 @@
const express = require('express');
const path = require('path');
const app = express();
const port = process.env.PORT || 3000;
app.use(express.static(path.join(__dirname, 'public')));
app.get('/health', (_req, res) => {
res.status(200).json({ status: 'ok' });
});
app.listen(port, () => {
console.log(`Server listening on port ${port}`);
});