diff options
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 |