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:
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.
- Discord – Official ElysiaJS discord community server – https://discord.gg/eaFJ2KDJck
- Twitter – Track updates and status of Elysia – https://twitter.com/elysiajs
- GitHub – Source code and development – https://github.com/elysiajs
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
- 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!