Convex is a full backend platform that combines a reactive document database, serverless TypeScript functions, and real-time sync into a single coherent system. Queries are automatically reactive: when underlying data changes, all connected clients receive updates instantly. The platform eliminates the need for separate API layers, caching, and WebSocket infrastructure.
Build multiplayer features like shared documents, live dashboards, and collaborative whiteboards with reactive queries that automatically sync state across all connected clients.
Implement real-time messaging with typing indicators, read receipts, and message delivery guarantees using Convex mutations and reactive queries.
Ship full-stack features faster by writing queries, mutations, and actions as TypeScript functions that run on the server with end-to-end type safety.
import { query, mutation } from "./_generated/server";import { v } from "convex/values";export const listTasks = query({args: { projectId: v.id("projects") },handler: async (ctx, args) => {return await ctx.db.query("tasks").withIndex("by_project", (q) => q.eq("projectId", args.projectId)).order("desc").take(50);},});export const createTask = mutation({args: { projectId: v.id("projects"), title: v.string() },handler: async (ctx, args) => {return await ctx.db.insert("tasks", {projectId: args.projectId,title: args.title,completed: false,});},});
Seamless integration, great documentation. Set up in under 10 minutes.
2 days ago
Works well for our use case. Would love to see more webhook event types.
1 week ago
Excellent compliance coverage. HIPAA audit trail works perfectly.
2 weeks ago
| Key | Description | Example |
|---|---|---|
| CONVEX_DEPLOYMENT | Convex deployment identifier for server-side access | your-project-123 |
| NEXT_PUBLIC_CONVEX_URL | Public Convex URL for client-side connection | https://your-project-123.convex.cloud |
Convex is a reactive backend platform that combines a document database, serverless functions, and real-time sync into a single system. Its key differentiator is automatic reactivity: queries re-run and push updates to clients whenever underlying data changes. This eliminates manual cache invalidation and WebSocket plumbing, making it the fastest path to building real-time collaborative applications.