What problem does it solve?
This Skill provides comprehensive guidance for building production-ready backend applications with Encore.ts. It covers API development, database integration, authentication, asynchronous messaging (Pub/Sub), storage, cron scheduling, middleware, CORS, secrets management, and service architecture. It helps reduce boilerplate and complexity when architecting and evolving backend infrastructure.
Core Features & Use Cases
- API Development: Type-safe endpoints, request/response validation, and support for REST, streaming, and GraphQL.
- Database & ORM: PostgreSQL integration, migrations, and ORM support (Drizzle, Prisma).
- Authentication & Authorization: Custom auth handlers, token validation, protected endpoints, and propagation across services.
- Asynchronous Messaging: Pub/Sub topics/subscriptions, event-driven patterns, delivery guarantees, and ordering.
- Storage & Caching: Object storage, uploads/downloads, buckets, and caching strategies.
- Scheduled Tasks: Cron jobs and background tasks for automated maintenance.
- Middleware & CORS: Request/response middleware and CORS configuration.
- Configuration & Secrets: Secret management and environment-specific configuration.
- Architecture & Organization: Service-oriented patterns, monorepos, and service boundaries.
Quick Start
Start by scaffolding an Encore.ts backend skeleton with example services, migrations, and auth boilerplate to accelerate API delivery.