# Build an HTTP server using Elysia and Bun (/guides/ecosystem/elysia)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 218 · updated: 2026-07-28 -->
Related: [Build an app with Astro and Bun](/guides/ecosystem/astro.md), [Create a Discord bot](/guides/ecosystem/discordjs.md), [Containerize a Bun application with Docker](/guides/ecosystem/docker.md), [Use Drizzle ORM with Bun](/guides/ecosystem/drizzle.md), [Use Gel with Bun](/guides/ecosystem/gel.md), [Build an HTTP server using Express and Bun](/guides/ecosystem/express.md)

[Elysia](https://elysiajs.com) is a Bun-first web framework built on Bun's HTTP, file system, and hot reloading APIs. Get started with `bun create`.

```bash icon="terminal" title="terminal" terminal
bun create elysia myapp
cd myapp
bun run dev
```

***

To define an HTTP route and start a server with Elysia:

```ts icon="/icons/typescript.svg" title="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}...`);
```

***

Elysia is a server framework with Express-like syntax, type inference, middleware, file uploads, and plugins for JWT authentication and tRPC. It's one of the [fastest Bun web frameworks](https://github.com/SaltyAom/bun-http-framework-benchmark).

See the Elysia [documentation](https://elysiajs.com/quick-start.html).
