aboutsummaryrefslogtreecommitdiff
path: root/docs/ecosystem/elysia.md
blob: b5225e6ce02bba07b1cabca7663a954d33d20ba2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Elysia](https://elysiajs.com) is a Bun-first performance focused web framework that takes full advantage of Bun's HTTP, file system, and hot reloading APIs.
Designed with TypeScript in mind, you don't need to understand TypeScript to gain the benefit of TypeScript with Elysia. The library understands what you want and automatically infers the type from your code.

:zap: Elysia is [one of the fastest Bun web frameworks](https://github.com/SaltyAom/bun-http-framework-benchmark)

```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.
ef28308c9c8e87ee292305be6&follow=1'>The startup message sends successfullyGravatar Jarred Sumner 4-96/+130 2023-10-15it compiledGravatar Jarred Sumner 2-158/+238 2023-10-15okay we are starting to try itGravatar Jarred Sumner 4-9/+43 2023-10-15Okay most of the code is writtenGravatar Jarred Sumner 3-29/+398 2023-10-14MoreGravatar Jarred Sumner 7-66/+504 2023-10-14wipGravatar Jarred Sumner 8-16/+1194 2023-10-14More progressGravatar Jarred Sumner 4-36/+405 2023-10-13wipGravatar Jarred Sumner 8-48/+308