* Create Koa.js

* Update readme.md

* Update readme.md
This commit is contained in:
Danny Wang (ThePeeps191)
2022-01-23 14:08:17 -07:00
committed by GitHub
parent 109cce05ef
commit 497ca6b336
2 changed files with 10 additions and 1 deletions

8
k/Koa.js Normal file
View File

@@ -0,0 +1,8 @@
const Koa = require('koa');
const app = new Koa();
app.use(async ctx => {
ctx.body = 'Hello World';
});
app.listen(8080);