Table of Content - ElysiaJS | ElysiaJS

ID: 2104https://elysiajs.com/table-of-content.html
Source

Table of Content

There's no correct way to learn Elysia, but we highly recommended you checkout the an Interactive Tutorial first to get familiar with Elysia:

Interactive Tutorial

First up

We highly recommended you to check out these 2 pages first before getting started with Elysia:

  • Key Concept – Core concept of Elysia and how to effectively
  • Best Practice – Understand best practice to write Elysia code

llms.txt

Alternatively, you can download llms.txt or llms‑full.txt and feed it to your favorite LLMs like ChatGPT, Claude or Gemini to get a more interactive experience.

  • llms.txt – Download summarized Elysia doc in Markdown format with reference for prompting LLMs
  • llms‑full.txt – Download full Elysia doc in Markdown format in a single file for prompting LLMs

If you are stuck

Feel free to ask our community on GitHub Discussions, Discord, and Twitter.

From other Framework?

If you have used other popular frameworks like Express, Fastify, or Hono, you will find Elysia right at home with just a few differences.

Essential Chapter

Here are the foundation of Elysia, we highly recommended you to go through these pages before jumping to other topics:

  • Route – Understand how routing works in Elysia
  • Handler – Learn about how to handle request
  • Validation – How to enforce type safety with Elysia
  • Life Cycle – Learn different type of lifecycle
  • Plugin – Learn how to extend Elysia with Plugin

More Patterns

If you feels like exploring more Elysia feature, check out:

  • Handler – More pattern on how to send a file, Server Sent Event, etc.
  • Web Socket – See how to create Real Time application with Elysia
  • Eden – Learn more about Eden, and how to use it effectively
  • Open Telemetry – Learn how to monitor your application with Open Telemetry
  • Deploy to Production – Learn how to deploy Elysia to production

Integration with Meta Framework

We can also use Elysia with Meta Framework like Nextjs, Nuxt, Astro, etc.

  • Astro – Elysia in Astro Endpoint
  • Expo – Elysia in Expo API Route
  • Nextjs – Elysia in Route Handler
  • Nuxt – Elysia in Nuxt Server Route
  • SvelteKit – Elysia in SvelteKit Endpoint

Integration with your favorite tool

We have some integration with popular tools:

  • AI SDK – Learn how to use Vercel AI SDK with Elysia
  • Better Auth – Learn how to use Better Auth with Elysia
  • Drizzle – Elysia provides a type safe utility with Drizzle
  • Prisma – Learn how to use Prisma with Elysia
  • React Email – We can use JSX to create email template

We hope you will love Elysia as much as we do!