// Local stand-in for the WhatsApp Cloud (Graph) API. Later tasks add Graph endpoints and signed webhooks. const http = require('node:http'); http.createServer((req, res) => { if (req.method === 'GET' && req.url === '/health') { res.writeHead(200, { 'Content-Type': 'application/json' }); return res.end('{"status":"UP"}'); } res.writeHead(404, { 'Content-Type': 'application/json' }); res.end('{"error":"not found"}'); }).listen(8080);