Spaces:
Sleeping
Sleeping
const koa = require('koa') | |
const app = new koa() | |
app.use(async (ctx, next) => { | |
ctx.body = 'Hello World' | |
}) | |
app.listen(8888, () => { | |
console.log('server is running at http://localhost:8888') | |
}) | |