diff options
| author | 2022-07-15 18:54:18 +0700 | |
|---|---|---|
| committer | 2022-07-15 13:54:18 +0200 | |
| commit | 61de6032afabdb359ddc57e0a5d8e7a825a851f8 (patch) | |
| tree | 722f778f7e76edeb4ef7171f86de9ea3d39bd172 /examples/kingworld/src/index.ts | |
| parent | b901f55164c9f60dc9da5d13ad13f7ff9c1d2bac (diff) | |
| download | bun-61de6032afabdb359ddc57e0a5d8e7a825a851f8.tar.gz bun-61de6032afabdb359ddc57e0a5d8e7a825a851f8.tar.zst bun-61de6032afabdb359ddc57e0a5d8e7a825a851f8.zip | |
template(kingworld): Add kingworld template (#708)
* feat(examples): add kingworld
* fix(examples/kingworld): add .gitignore
* fix(template/kingworld): rename .gitignore to gitignore
* fix(template/kingworld): update to request change
* fix(template/kingworld): update 'getting start' to 'Getting Started'
Diffstat (limited to 'examples/kingworld/src/index.ts')
| -rw-r--r-- | examples/kingworld/src/index.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/kingworld/src/index.ts b/examples/kingworld/src/index.ts new file mode 100644 index 000000000..68fd8f1a8 --- /dev/null +++ b/examples/kingworld/src/index.ts @@ -0,0 +1,7 @@ +import KingWorld from 'kingworld' + +new KingWorld() + .get("/", () => "Hello KingWorld") + .listen(3000) + +console.log('🦊 KINGWORLD is running at :3000') |
