const express = require('express'); const app = express(); const port = 7860; // Middleware to parse JSON body (for future API expansion if needed) app.use(express.json()); // Serve the main page with server-side rendered HTML, CSS, and JS app.get('/', (req, res) => { res.send(`