Files
bun.sh/docs/ecosystem/elysia.md
Colin McDonnell 0ecd773081 Docs (#2170)
* Add hono and elysia

* Update elysia and add coming soon

* Fix typo

* Add back awesome
2023-02-24 17:48:49 -08:00

534 B

Elysia is a Bun-first web framework that takes full advantage of Bun's HTTP, file system, and hot reloading APIs.

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.

$ bun create elysia ./myapp
$ cd myapp
$ bun run dev

Refer to the Elysia documentation for more information.