What problem does it solve?
Convex backend development guidelines help teams write robust Convex backend components using TypeScript, covering functions, schemas, queries, mutations, actions, scheduling, and storage with best practices and safety patterns.
Core Features & Use Cases
- Function Syntax and Validators: Use the canonical Convex builders (query, mutation, action, internal variants) with proper validators to ensure type safety.
- Schema and Data Access: Define schemas with defineSchema and defineTable, leverage system fields, and apply indexed queries for performance.
- End-to-End Backend Workflows: Cover scheduling, cron jobs, file storage, and safe interaction patterns between functions.
- Use Case: When starting a new Convex project, apply these guidelines to implement consistent backend code.
Quick Start
Follow the Convex backend guidelines to implement a new query, mutation, or action using the standard validators and the public/internal function patterns.