elysiajs

Develop type-safe backend APIs with the ElysiaJS TypeScript framework.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/wibus-wee/bbot --skill elysiajs-wibus-wee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elysiajs
Source: https://github.com/wibus-wee/bbot/tree/main/.agents/skills/elysiajs
Command: npx skills add https://github.com/wibus-wee/bbot --skill elysiajs-wibus-wee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and plugins (resource) and integrations (resource) and examples (resource) components.

What problem does it solve?

This Skill streamlines the development of robust, type-safe backend APIs using the ElysiaJS framework, simplifying complex tasks like routing, validation, and integration.

Core Features & Use Cases

  • API Development: Create, modify, and deploy ElysiaJS servers.
  • Data Validation: Implement input/output validation using TypeBox, Zod, or Valibot.
  • Authentication & Security: Integrate JWT, session-based auth, and guards.
  • Plugin Integration: Add features like CORS, OpenAPI, WebSockets, and ORMs (Drizzle, Prisma).
  • Use Case: Develop a real-time chat application by setting up WebSocket endpoints, implementing user authentication with JWT, and validating messages using TypeBox.

Quick Start

Create a basic ElysiaJS server by running bun create elysia app.

Frequently Asked Questions about elysiajs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a type-safe backend API with ElysiaJS?

Build type-safe backend APIs with ElysiaJS by defining routes and validating inputs with TypeBox, Zod, or Valibot. The framework enforces end-to-end type safety, preventing runtime errors from malformed request data.

Can I use ElysiaJS with Drizzle or Prisma for database integration?

Yes, ElysiaJS supports ORM integration with Drizzle and Prisma. You can connect your type-safe API routes directly to your database layer, ensuring consistent data structures from input validation through to database storage.

How do I implement JWT and session-based authentication in an ElysiaJS server?

Implement JWT and session-based authentication in an ElysiaJS server by applying authentication guards and plugins. This secures your API endpoints by validating user tokens before processing requests.

Does ElysiaJS support WebSockets for real-time application development?

Yes, ElysiaJS supports WebSockets for real-time application development. You can create real-time features like chat applications by setting up WebSocket endpoints alongside standard API routes.

What is the best way to generate API documentation for an ElysiaJS backend?

Generate API documentation for an ElysiaJS backend by integrating the OpenAPI plugin. This automatically creates API docs from your route definitions and validation schemas, providing standard reference output.