> ## Documentation Index
> Fetch the complete documentation index at: https://bun-1dd33a4e-farm-dc5e99a7-serve-route-target-normalization.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Build an HTTP server using Elysia and Bun

[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. Get started with `bun create`.

```bash terminal icon="terminal" theme={null}
bun create elysia myapp
cd myapp
bun run dev
```

***

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

```ts server.ts icon="https://mintcdn.com/bun-1dd33a4e-farm-dc5e99a7-serve-route-target-normalization/irnPaIf5BInKUovc/icons/typescript.svg?fit=max&auto=format&n=irnPaIf5BInKUovc&q=85&s=749f5ca3fc8733d63266eddb19569000" theme={null}
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 full-featured server framework with Express-like syntax, type inference, middleware, file uploads, and plugins for JWT authentication, tRPC, and more. It's also is one of the [fastest Bun web frameworks](https://github.com/SaltyAom/bun-http-framework-benchmark).

Refer to the Elysia [documentation](https://elysiajs.com/quick-start.html) for more information.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.