const http = require('http'); const PORT = process.env.PORT || 3000; http.createServer((req, res) => { res.writeHead(200, {'Content-Type': 'text/html; charset=utf-8'}); res.end('
This confirms the server is up.
'); }).listen(PORT, () => { console.log(`🌐 Web server running at http://localhost:${PORT}`); });