Get your own Node server
const Koa = require('koa');
const app = new Koa();
const port = 8080;

// Response middleware
app.use(async ctx => {
  ctx.body = 'Hello World from Koa.js!';
});

app.listen(port, () => {
  console.log(`Koa server running at http://localhost:${port}`);
});

              
http://localhost:8080