73d0f5b
1
2
3
4
5
6
7
8
9
10
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') })