Overview
Elysia is designed to be modular and lightweight.
Following the same idea as Arch Linux (btw, I use Arch):
Design decisions are made on a case-by-case basis through developer consensus
To ensure that developers endup with performant web server they intent to created.
That's why Elysia is creating pre-built common pattern plugin for convinient usage for developers:
Official plugins:
- Bearer - retreiving Bearer token automatically
- Cookie - toolkits for handling cookie
- CORS - setup Cross Origin Request request
- Cron - setup cronjob
- Eden - end-to-end type safe client for Elysia
- GraphQL Apollo - run GraphQL Apollo on Elysia
- GraphQL Yoga - run GraphQL Yoga on Elysia
- HTML - convenient plugin for handling HTML response
- JWT - authentication with JWT
- Static - serve static file/folders
- Swagger - generate Swagger documentation in 1 line
- tRPC - add tRPC support
- WebSocket - websocket support
Community plugins:
- OAuth2 - handle OAuth 2.0 authorization code flow
- Rate Limit - simple lightweight rate limiter
- Logger - pino logging elysia middleware
- Elysia Polyfills - run Elysia ecosystem on Node and Deno
- Elysia Lambda - deploy Elysia on AWS Lambda
If you have plugin written for Elysia, feels free to share you plugin by creating PR to documentation repo.