const http = require("http"); const port = process.env.PORT || 3000; http.createServer((req, res) => { res.writeHead(200, { "Content-Type": "text/plain" }); res.end(`hello from the yourai app platform\napp: hello-node\ngreeting: ${process.env.GREETING || "(unset)"}\n`); }).listen(port, () => console.log(`listening on ${port}`));