const express = require('express'); const path = require('path'); const app = express(); const port = 3000; // Serve the index.html file at the root URL app.get('/', (req, res) => { res.sendFile(path.join(__dirname, '../html/index.html')); }); app.listen(port, () => { console.log(`Example app listening at http://localhost:${port}`); });