backend-elysia

Automates Etsy-backed backend setup with modular domain architecture, Drizzle ORM type safety, and Better Auth integration.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/MileniumTick/skills --skill backend-elysia
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: backend-elysia
Source: https://github.com/MileniumTick/skills/tree/main/skills/backend-elysia
Command: npx skills add https://github.com/MileniumTick/skills --skill backend-elysia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the setup and architectural discipline of Elysia-based backends, reducing boilerplate and boosting maintainability.

Core Features & Use Cases

  • Modular DDD-lite patterns with per-domain modules (users, orders) and ports/ adapters.
  • Core layer with centralized error handling and shared utilities.
  • Drizzle ORM integration for type-safe database access and migrations.
  • Better Auth setup for secure authentication flows.
  • Eden API generation and easy wiring for typed frontend clients.

Quick Start

Create an Elysia app, wire the modules/users and modules/orders with their services, and start listening on a port.

Frequently Asked Questions about backend-elysia

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

FAQPage Schema
How do I structure an Elysia backend with Drizzle ORM and Better Auth?▼

Structure an Elysia backend using modular DDD-lite patterns with per-domain modules like users and orders. This setup enforces type-safe database access via Drizzle ORM and secure authentication flows through Better Auth to reduce boilerplate.

What is the best way to organize Elysia API routes for domain modules?▼

Organize Elysia API routes by implementing per-domain modules with ports and adapters. This architectural discipline isolates domain logic, centralizes error handling in a core layer, and maintains maintainability across API services.

Does Elysia work with Eden API for typed frontend clients?▼

Yes, Elysia works with Eden API to generate typed frontend clients. The structured backend setup provides easy wiring for Eden, ensuring type-safe communication between your Elysia API services and frontend applications.

Can I use DDD-lite architecture for a modular TypeScript backend?▼

Yes, you can apply DDD-lite architecture in a TypeScript backend by defining modular domain patterns. Using Elysia with Drizzle ORM and Better Auth, this approach enforces structured separation of concerns for API services.

When should I not use a modular domain pattern in Elysia?▼

Avoid modular domain patterns in Elysia for simple, single-route APIs where the overhead of ports, adapters, and per-domain modules outweighs the maintainability benefits. It targets complex API services with distinct domains like users and orders.