diff options
| author | 2023-02-24 17:48:49 -0800 | |
|---|---|---|
| committer | 2023-02-24 17:48:49 -0800 | |
| commit | 0ecd773081c8254474b8c756887d19409aa13090 (patch) | |
| tree | b277ae6f367e35fa83cbeec2ebac8034f1f9722c /docs/ecosystem/elysia.md | |
| parent | c72c2c2338f648544f1a35ba9100a9fe4ad46aee (diff) | |
| download | bun-0ecd773081c8254474b8c756887d19409aa13090.tar.gz bun-0ecd773081c8254474b8c756887d19409aa13090.tar.zst bun-0ecd773081c8254474b8c756887d19409aa13090.zip | |
Docs (#2170)
* Add hono and elysia
* Update elysia and add coming soon
* Fix typo
* Add back awesome
Diffstat (limited to 'docs/ecosystem/elysia.md')
| -rw-r--r-- | docs/ecosystem/elysia.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/ecosystem/elysia.md b/docs/ecosystem/elysia.md new file mode 100644 index 000000000..d011e3f0c --- /dev/null +++ b/docs/ecosystem/elysia.md @@ -0,0 +1,21 @@ +[Elysia](https://elysiajs.com) is a Bun-first web framework that takes full advantage of Bun's HTTP, file system, and hot reloading APIs. + +```ts#server.ts +import { Elysia } from 'elysia' + +const app = new Elysia() + .get('/', () => 'Hello Elysia') + .listen(8080) + +console.log(`🦊 Elysia is running at on port ${app.server.port}...`) +``` + +Get started with `bun create`. + +```bash +$ bun create elysia ./myapp +$ cd myapp +$ bun run dev +``` + +Refer to the Elysia [documentation](https://elysiajs.com/quick-start.html) for more information.
\ No newline at end of file |
