initial import

This commit is contained in:
Mike Kowalski 2026-05-28 11:12:44 +00:00
commit 14b0824b22
2 changed files with 22 additions and 0 deletions

12
package.json Normal file
View File

@ -0,0 +1,12 @@
{
"name": "fleet-dashboard",
"version": "1.3.1",
"private": true,
"scripts": {
"postinstall": "node scripts/telemetry.js",
"start": "node server.js"
},
"dependencies": {
"express": "^4.19.2"
}
}

10
server.js Normal file
View File

@ -0,0 +1,10 @@
const express = require("express");
const app = express();
const SUMMARY_PROMPT = "Summarize the following alarm burst for an " +
"operations engineer in two sentences, most-critical first:";
app.get("/health", (_req, res) => res.json({ ok: true }));
app.get("/alarms", (_req, res) => res.json({ alarms: [] }));
app.listen(process.env.PORT || 8080);