express-api-patterns
Installation
SKILL.md
Express API Patterns
Best practices for building Express.js REST APIs with TypeScript, raw SQL (pg), JWT authentication, and role-based access control.
When to Apply
Reference these guidelines when:
- Creating new API routes or modules
- Writing database queries with
pg - Implementing authentication or authorization logic
- Adding request validation with Zod
- Writing middleware
- Handling errors