Abstract
Abstract Conf. — Sept.02

Sign up to be notified about speakers, schedule, & ticket announcements

RealtimeKeep your app up to date
AuthenticationOver 80+ OAuth integrations
Convex Components
ComponentsIndependent, modular, TypeScript building blocks for your backend.
Open sourceSelf host and develop locally
AI CodingGenerate high quality Convex code with AI
Compare
Convex vs. Firebase
Convex vs. Supabase
Convex vs. SQL
DocumentationGet started with your favorite frameworks
SearchSearch across Docs, Stack, and Discord
TemplatesUse a recipe to get started quickly
Convex ChampionsAmbassadors that support our thriving community
Convex for StartupsStart and scale your company with Convex
Convex for Open SourceSupport for open source projects
Convex CommunityShare ideas and ask for help in our community Discord
Stack
Stack

Stack is the Convex developer portal and blog, sharing bright ideas and techniques for building with Convex.

Explore Stack
BlogChangelogDocsPricing
GitHub
Log in

Build with confidence

The backend building blocks for your agents

Start building

npm create convex

Everything is code

From database schemas to queries, from auth to APIs, express every part of your backend in pure TypeScript. Your backend code lives next to your app code, is typechecked and autocompleted, and is generated by AI with exceptional accuracy.

Screenshot of code editor
Screenshot of app preview and Convex dashboard

Always in sync

Convex libraries guarantee that your app always reflects changes to your frontend code, backend code, and database state in real time. No need for state managers, cache invalidation policies, or websockets.

Screenshot of code editor
Screenshot of app preview and Convex dashboard

Backend built-ins

Create cron jobs, kick off backend AI workflows, leverage built-in auth, and tap into a growing ecosystem of components that solve common backend needs with just an npm i.

Screenshot of code editor
Screenshot of app preview and Convex dashboard

Build with confidence

The backend building blocks for your agents

Start building

npm create convex

From database schemas to queries, from auth to APIs, express every part of your backend in pure TypeScript. Your backend code lives next to your app code, is typechecked and autocompleted, and is generated by AI with exceptional accuracy.

01

import { mutation, query } from "./_generated/server";
import { v } from "convex/values";
export const setComplete = mutation({
args: { id: v.id("todos") },
handler: async (ctx, args) => {
await ctx.db.patch("todos", args.id, {
// Try checking a todo--nothing happens!
// Change this to `true` and try again.
completed: false,
});
},
});
export const list = query({…});
export const add = mutation({…});
export const setIncomplete = mutation({…});
Try it out!
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";
export default defineSchema({
todos: defineTable({
text: v.string(),
category: v.optional(v.string()),
completed: v.boolean(),
}).index("by_completed", ["completed"]),
});
import { api } from "../../convex/_generated/api";
import { TodoList } from "./TodoList";
import { useQuery } from "convex/react";
export function TodoApp() {
// Load more by changing `count` to 10.
// Everything updates reactively.
const todos = useQuery(api.todos.list, { count: 5 });
return <TodoList todos={todos} />;
}
Try it out!
import { mutation, query } from "./_generated/server";
import { v } from "convex/values";
export const setComplete = mutation({…});
export const list = query({
args: { count: v.number() },
handler: async (ctx, args) => {
return await ctx.db.query("todos").order("desc").take(args.count);
},
});
export const add = mutation({…});
export const setIncomplete = mutation({…});
import { cronJobs } from "convex/server";
import { internal } from "./_generated/api";
const crons = cronJobs();
crons.interval(
"categorize todos",
{ seconds: 5 },
internal.categorize.categorize,
{
// Add categories "Sports" and "Health"
// to see the todos categorized on the
// next cron job run.
categories: ["Chores", "Work"],
},
);
export default crons;
Try it out!
import { v } from "convex/values";
import { api, internal } from "./_generated/api";
import { Doc, Id } from "./_generated/dataModel";
import { internalAction, internalMutation } from "./_generated/server";
import Anthropic from "@anthropic-ai/sdk";
type AiCategorizeResponse = {
id: Id<"todos">;
category: string;
};
export const categorize = internalAction({
args: { categories: v.array(v.string()) },
handler: async (ctx, args) => {
const todos = await ctx.runQuery(api.todos.list, { count: 100 });
const response = await categorizeTodos(todos, args.categories);
await ctx.runMutation(internal.categorize.setCategories, {
categories: response,
});
},
});
export const setCategories = internalMutation({
args: {
categories: v.array(v.object({ id: v.id("todos"), category: v.string() })),
},
handler: async (ctx, args) => {
for (const category of args.categories) {
await ctx.db.patch("todos", category.id, {
category: category.category,
});
}
},
});
async function categorizeTodos(
todos: Doc<"todos">[],
categories: string[],
): Promise<AiCategorizeResponse[]> {…}
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";
export default defineSchema({
todos: defineTable({
text: v.string(),
category: v.optional(v.string()),
completed: v.boolean(),
}).index("by_completed", ["completed"]),
});
AI Tools

LLMs love Convex

With Convex, everything is just TypeScript. This means your favorite AI tools are pre-equipped to generate high quality code.

Learn more
Product

Not just a database

Everything your product deserves to build, launch, and scale.

Learn more

Features included with Convex:

  • Framework integration
  • Realtime updates
  • Type safety
  • Automatic caching
  • Strong consistency
  • Server functions
  • Cron jobs
  • ACID database
  • File storage
  • Vector search
Customer Love

Loved by developers

What people building their business on Convex are saying.

Next + Convex (all in typescript) Vs Angular (typescript) + Django (python) + Postgres + S3 + Websocket DIY + SQS + IaC + DIY e2e type safety 🤔
WebDevCody@webdevcody
@convex Simple. Fast. Realtime.
AndyOz@andy_austin_dev
I think @convex might be the best DB I've ever used
Robin@robinxpfp
Happy to see more first-class clerk x convex integration There's such a major architecture shift around Serverless + Edge + React + Typescript that (imo) it's unlikely sql is still the right abstraction Very compelling that convex is approaching this from first principles
Colin | Clerk.com@tweetsbycolin
😱 @convex is the gift that keeps on giving Check it out in combination with @nextjs docs.convex.dev
Guillermo Rauch@rauchg
@convex is everything I wanted Firebase to be. Such a great tool. Feels illegal to know about this before others.
Timothy Stepro@tim_stepro
#dailytip if you are a #react developer and want an alternative to Firebase, you might want to give @convex a try. It has amazing ReactHooks with samples in #Javascript and #typescript and the price isn't bad. I'm not a Firebase expert but it looks like all features are there
urubatan@urubatan
@convex feels like what I wanted Firebase and MongoDB Realm to be and more. Really enjoying the DX so far!
David Kim@dvddkkim
I used @convex once to make sure our integration at @ClerkDev worked and the docs matched what we expected. It's magical. I don't say that lightly. I think it's time to do a video on the channel.
James Perkins@james_r_perkins
I'm working on a new app build with @convex and I am *very* excited about the tech here - DB schema defined in TS - end-to-end types (like if tRPC also set up your DB) - real-time updates Just Work™
Jason Lengstorf@jlengstorf
Managing an application's state has become easier, but the global state concept is still a pain for developers, which @convex aims to solve. I made a realtime application using @convex, @nextjs, and @auth0 and loved it.😍
Anshuman Bhardwaj@sun_anshuman
Interesting tool of the week: convex.dev by @convex We like: Makes it easy to build a live-updating web app with a document database. Strictly-typed fully relational schemas defined in code (optional, but recommended)
Console - Devtools, devtools, devtools@consoledotdev
#dailytip if you are a #react developer and want an alternative to Firebase, you might want to give @convex a try. It has amazing ReactHooks with samples in #Javascript and #typescript and the price isn't bad. I'm not a Firebase expert but it looks like all features are there
urubatan@urubatan
I used @convex once to make sure our integration at @ClerkDev worked and the docs matched what we expected. It's magical. I don't say that lightly. I think it's time to do a video on the channel.
James Perkins@james_r_perkins
@convex is everything I wanted Firebase to be. Such a great tool. Feels illegal to know about this before others.
Timothy Stepro@tim_stepro
I think @convex might be the best DB I've ever used
Robin@robinxpfp
#dailytip if you are a #react developer and want an alternative to Firebase, you might want to give @convex a try. It has amazing ReactHooks with samples in #Javascript and #typescript and the price isn't bad. I'm not a Firebase expert but it looks like all features are there
urubatan@urubatan
I used @convex once to make sure our integration at @ClerkDev worked and the docs matched what we expected. It's magical. I don't say that lightly. I think it's time to do a video on the channel.
James Perkins@james_r_perkins
@convex is everything I wanted Firebase to be. Such a great tool. Feels illegal to know about this before others.
Timothy Stepro@tim_stepro
I think @convex might be the best DB I've ever used
Robin@robinxpfp
Happy to see more first-class clerk x convex integration There's such a major architecture shift around Serverless + Edge + React + Typescript that (imo) it's unlikely sql is still the right abstraction Very compelling that convex is approaching this from first principles
Colin | Clerk.com@tweetsbycolin
I'm working on a new app build with @convex and I am *very* excited about the tech here - DB schema defined in TS - end-to-end types (like if tRPC also set up your DB) - real-time updates Just Work™
Jason Lengstorf@jlengstorf
@convex feels like what I wanted Firebase and MongoDB Realm to be and more. Really enjoying the DX so far!
David Kim@dvddkkim
😱 @convex is the gift that keeps on giving Check it out in combination with @nextjs docs.convex.dev
Guillermo Rauch@rauchg
Happy to see more first-class clerk x convex integration There's such a major architecture shift around Serverless + Edge + React + Typescript that (imo) it's unlikely sql is still the right abstraction Very compelling that convex is approaching this from first principles
Colin | Clerk.com@tweetsbycolin
I'm working on a new app build with @convex and I am *very* excited about the tech here - DB schema defined in TS - end-to-end types (like if tRPC also set up your DB) - real-time updates Just Work™
Jason Lengstorf@jlengstorf
@convex feels like what I wanted Firebase and MongoDB Realm to be and more. Really enjoying the DX so far!
David Kim@dvddkkim
😱 @convex is the gift that keeps on giving Check it out in combination with @nextjs docs.convex.dev
Guillermo Rauch@rauchg
Managing an application's state has become easier, but the global state concept is still a pain for developers, which @convex aims to solve. I made a realtime application using @convex, @nextjs, and @auth0 and loved it.😍
Anshuman Bhardwaj@sun_anshuman
Interesting tool of the week: convex.dev by @convex We like: Makes it easy to build a live-updating web app with a document database. Strictly-typed fully relational schemas defined in code (optional, but recommended)
Console - Devtools, devtools, devtools@consoledotdev
Next + Convex (all in typescript) Vs Angular (typescript) + Django (python) + Postgres + S3 + Websocket DIY + SQS + IaC + DIY e2e type safety 🤔
WebDevCody@webdevcody
@convex Simple. Fast. Realtime.
AndyOz@andy_austin_dev
Managing an application's state has become easier, but the global state concept is still a pain for developers, which @convex aims to solve. I made a realtime application using @convex, @nextjs, and @auth0 and loved it.😍
Anshuman Bhardwaj@sun_anshuman
Interesting tool of the week: convex.dev by @convex We like: Makes it easy to build a live-updating web app with a document database. Strictly-typed fully relational schemas defined in code (optional, but recommended)
Console - Devtools, devtools, devtools@consoledotdev
Next + Convex (all in typescript) Vs Angular (typescript) + Django (python) + Postgres + S3 + Websocket DIY + SQS + IaC + DIY e2e type safety 🤔
WebDevCody@webdevcody
@convex Simple. Fast. Realtime.
AndyOz@andy_austin_dev
  • Next + Convex (all in typescript) Vs Angular (typescript) + Django (python) + Postgres + S3 + Websocket DIY + SQS + IaC + DIY e2e type safety 🤔

    WebDevCody (@webdevcody)
  • @convex Simple. Fast. Realtime.

    AndyOz (@andy_austin_dev)
  • I think @convex might be the best DB I've ever used

    Robin (@robinxpfp)
  • Happy to see more first-class clerk x convex integration There's such a major architecture shift around Serverless + Edge + React + Typescript that (imo) it's unlikely sql is still the right abstraction Very compelling that convex is approaching this from first principles

    Colin | Clerk.com (@tweetsbycolin)
  • 😱 @convex is the gift that keeps on giving Check it out in combination with @nextjs docs.convex.dev

    Guillermo Rauch (@rauchg)
  • @convex is everything I wanted Firebase to be. Such a great tool. Feels illegal to know about this before others.

    Timothy Stepro (@tim_stepro)
  • #dailytip if you are a #react developer and want an alternative to Firebase, you might want to give @convex a try. It has amazing ReactHooks with samples in #Javascript and #typescript and the price isn't bad. I'm not a Firebase expert but it looks like all features are there

    urubatan (@urubatan)
  • @convex feels like what I wanted Firebase and MongoDB Realm to be and more. Really enjoying the DX so far!

    David Kim (@dvddkkim)
  • I used @convex once to make sure our integration at @ClerkDev worked and the docs matched what we expected. It's magical. I don't say that lightly. I think it's time to do a video on the channel.

    James Perkins (@james_r_perkins)
  • I'm working on a new app build with @convex and I am *very* excited about the tech here - DB schema defined in TS - end-to-end types (like if tRPC also set up your DB) - real-time updates Just Work™

    Jason Lengstorf (@jlengstorf)
  • Managing an application's state has become easier, but the global state concept is still a pain for developers, which @convex aims to solve. I made a realtime application using @convex, @nextjs, and @auth0 and loved it.😍

    Anshuman Bhardwaj (@sun_anshuman)
  • Interesting tool of the week: convex.dev by @convex We like: Makes it easy to build a live-updating web app with a document database. Strictly-typed fully relational schemas defined in code (optional, but recommended)

    Console - Devtools, devtools, devtools (@consoledotdev)
Integrations

Convexlovesyour favorite frameworks

Connect your backend to your client libraries and frameworks

Learn more
  • React
    Quickstart guide
  • React Native
    Quickstart guide
  • Python
    Quickstart guide
  • Next.js
    Quickstart guide
  • TanStack Start
    Quickstart guide
  • Rust
    Quickstart guide
  • Remix
    Quickstart guide
  • Vue
    Quickstart guide
  • Svelte
    Quickstart guide
Get your app up and running in minutes
Start building
Convex logo
ProductSyncRealtimeAuthOpen sourceAI codingFAQMerchPricing
DevelopersDocsBlogComponentsTemplatesConvex for StartupsConvex for Open SourceChampionsPodcastsLLMs.txt
CompanyAbout usBrandInvestorsBecome a partnerJobsNewsEventsSecurityLegal
SocialX (Twitter)DiscordYouTubeLumaLinkedInGitHub
A Trusted Solution
  • SOC 2 Type II Compliant
  • HIPAA Compliant
  • GDPR Verified
©2026 Convex, Inc.