Table of Content
There’s no correct way to learn Elysia, but we highly recommended you checkout the Interactive Tutorial first to get familiar with Elysia:
Interactive Tutorial – An interactive experience to learn Elysia with IDE, playground, and more.
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:
and feed it to your favorite LLMs like ChatGPT, Claude or Gemini for a more interactive experience.
If you are stuck
Feel free to ask our community on GitHub Discussions, Discord, and Twitter:
- Discord – Official ElysiaJS discord community server
- Twitter – Track updates and status of Elysia
- GitHub – Source code and development
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.
- From Express – Comparison between tRPC and Elysia
- From Fastify – Comparison between Fastify and Elysia
- From Hono – Comparison between tRPC and Elysia
- From tRPC – Comparison between tRPC and Elysia
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
- Lifecycle – Learn different type of lifecycle
- Plugin – Learn how to extend Elysia with Plugin
More Patterns
If you feel like exploring more Elysia features, check out:
- Handler – More pattern on how to send a file, Server Sent Event, etc.
- Web Socket – See how to create real‑time applications with Elysia
- Eden – Learn more about Eden, and how to use it effectively
- Open Telemetry – Learn how to monitor your application with OpenTelemetry
- Deploy to Production – Learn how to deploy Elysia to production
Integration with Meta Framework
We can also use Elysia with meta frameworks like Next.js, Nuxt, Astro, etc.
- Astro – Elysia in Astro Endpoint
- Expo – Elysia in Expo API Route
- Next.js – 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 templates
We hope you will love Elysia as much as we do!