Stack logo
Sync up on the latest from Convex.
Featured articles
All articles
Learn how to self-host Convex, the reactive database and backend. This guide covers setup with Docker, Fly.io, and Neon.tech, plus pros and cons of self-hosting vs. cloud hosting.
Self-Hosting with Convex: Everything You Need to Know
Explore techniques to improve transaction throughput and concurrency in ACID databases by reducing conflicts and optimizing database reads. This guide covers patterns like Queue, Hot and Cold Tables, and Predicate Locking with clear examples using Convex, providing developers with tools to handle high-throughput workflows effectively.
The tutorial "How I added GitHub and npm stat counters to TanStack.com" by Convex Champion Shawn Erquhart details how Convex automates the integration of live GitHub and npm statistics on the TanStack.com website. It showcases data fetching, database optimization, and real-time updates through APIs, web scraping, and scheduled jobs.
Or how I learned to love BlockNote, Tiptap and ProseMirror OT sync.
Learn about Automerge CRDTs for collaborative editing, syncing changes using Convex.
Featured videos
All videos
Optimize Transaction Throughput: 3 Patterns for Scaling with Convex and ACID Databases
Explore techniques to improve transaction throughput and concurrency in ACID databases by reducing conflicts and optimizing database reads. This guide covers patterns like Queue, Hot and Cold Tables, and Predicate Locking with clear examples using Convex, providing developers with tools to handle high-throughput workflows effectively.
Lee Danilek's avatar
Lee Danilek
24 days ago
Convex Cookbook: Dynamic Query Builders
You can write a Convex query whose structure -- which index/order/filters to apply, if any -- depends on runtime factors. This article gives a recipe for building queries dynamically.
Lee Danilek's avatar
Lee Danilek
a month ago
Cover image for the video
08:22
Convex's migrations component makes it easy and safe to run complex database migrations without causing any interruption to live traffic.
Jamie Turner's avatar
Jamie Turner
2 months ago
Learn about Automerge CRDTs for collaborative editing, syncing changes using Convex.
Ian Macartney's avatar
Ian Macartney
3 months ago
Convex Components enable an ecosystem of powerful building blocks to reduce the amount of code you have to write and maintain yourself. Geospatial search, Expo push notifications, LaunchDarkly feature flags, durable function workflows, and more.
Ian Macartney's avatar
Ian Macartney
4 months ago
Triggers automatically run code whenever data in a table changes. A library in the convex-helpers npm package allows you to attach trigger functions to your Convex database.
Lee Danilek's avatar
Lee Danilek
4 months ago
Turns out, you can organize your Convex project across multiple repositories! Check out this guide on how to implement this in your project.
Jordan Hunt's avatar
Jordan Hunt
5 months ago
The term CRUD, or CRUD API, is often tossed around when interacting with databases or building backend APIs. This article will examine what CRUD is, what it’s suitable for, and its shortcomings. Finally, we’ll explore how to quickly implement a CRUD API using a modern backend like Convex.
Jamie Turner's avatar
Jamie Turner
5 months ago
Convex offers robust control over pagination with a powerful function, getPage, enabling complex edge cases. In this article, we go over how to use that function in your Convex app.
Lee Danilek's avatar
Lee Danilek
7 months ago
Or how I learned to love BlockNote, Tiptap and ProseMirror OT sync.
Sync collaborative documents with Convex
Learn about Automerge CRDTs for collaborative editing, syncing changes using Convex.
Building a collaborative task list using Automerge CRDTs and Convex sync
Object sync engines manage a rich object graph across multiple clients and a centralized server and are a great fit for building local-first apps.
An Object Sync Engine
ClarityText uses Cloudflare Pages for Convex deployments on Language Hopper, leveraging preview deployments, Git integration, and Node.js support. In this guide, Atul Raghuvanshi and Convex Champion Matt Luo walk through setup, including team onboarding, build scripts, Git configuration, and troubleshooting.
Setting up Cloudflare Pages for Convex deployments
Discover how the creation of QuiP, an online trivia league, led to a deeper understanding of domain-driven development using Convex. This blog explores the importance of building a shared language with your community to design applications, covering everything from backend modeling to crafting user-friendly interfaces.
Charlie McGeorge's avatar
Charlie McGeorge
19 days ago
From Trivia to TypeScript: QuiP's Domain-Driven Development with Convex
Sonny Sangha’s YouTube video demonstrates how to build an AI agent using Next.js 15, Convex, LangChain, Clerk, and IBM wxflows. The tutorial covers creating a secure and interactive chat application with real-time updates, Tool integration, and optimized performance using Convex for backend data management. With features like user authentication via Clerk, dynamic data handling through wxflows, and prompt caching with Claude 3.5 Sonnet, the video provides a detailed guide for developers looking to implement cutting-edge AI capabilities in their projects.
Sonny Sangha's avatar
Sonny Sangha
25 days ago
Cover image for the video
5:22:01
Imagine your app generating fresh content every minute—without you lifting a finger. That’s what Convex Cron makes possible. In this guide, you’ll set up a system to automate Q&A generation with ChatGPT.
Hyo Jang's avatar
Hyo Jang
2 months ago
The tutorial "How I added GitHub and npm stat counters to TanStack.com" by Convex Champion Shawn Erquhart details how Convex automates the integration of live GitHub and npm statistics on the TanStack.com website. It showcases data fetching, database optimization, and real-time updates through APIs, web scraping, and scheduled jobs.
Shawn Erquhart's avatar
Shawn Erquhart
2 months ago
Tutorial: How I added GitHub and npm stat counters to TanStack.com with Convex
Learn how to create real-time conversations between users and ChatGPT using Convex. You’ll design schemas, sync data automatically, and paginate chat history like a pro.
Hyo Jang's avatar
Hyo Jang
2 months ago
Or how I learned to love BlockNote, Tiptap and ProseMirror OT sync.
Ian Macartney's avatar
Ian Macartney
2 months ago
Sync collaborative documents with Convex
Hamza Saleem shares how Convex simplifies building real-time data sync apps like Sticky by using the useQuery hook, where you can easily fetch and sync data, like sticky notes, with minimal setup. He explains how Convex handles challenges like syncing data, live updates, and user tracking.
Hamza Saleem's avatar
Hamza Saleem
2 months ago
Keeping Users in Sync: Building Real-time Collaboration with Convex
WebDevCody drops into Databased to discuss content creation, AI, and sponsor relationships.
Cover image for the video
48:17
After years of wrestling with state management, I've found myself excited by how Convex queries have simplified the way I think about derived state. Instead of juggling complex state libraries and websocket implementations, Convex offers a refreshingly straightforward approach: just declare what data you need, and it stays synchronized across all clients automatically. It's made me wonder if we've been overcomplicating things all along.
Cover image for the video
10:21
As the newest member of the Convex team I am keen to find out how the magic works. Join me as I go spelunking through the codebase and uncover how the API generation actually works under the covers.
Cover image for the video
15:08
Cover image for the video
09:23
A step-by-step guild using daily bots open-source real-time voice and video AI cloud technology to build an AI real-time shopping list app—all controlled by voice.
Mike Cann's avatar
Mike Cann
a month ago
Cover image for the video
04:28
After much experimentation I have found some good ways to improve the coding experience when using Cursor and Convex. In this article I share 6 tips to improve your workflow.
Mike Cann's avatar
Mike Cann
a month ago
Visual of vector embedding and how they work in the game Midpoints
Ever wondered what word sits perfectly between "sporty" and "practical"? Or perhaps "sweet" and "crunchy"? Midpoints is a new word game that gives you 10 chances to find the best match and scores you accordingly!
Tom Redman's avatar
Tom Redman
3 months ago
I was curious to see if I could prompt my way through developing an entire app with Cursor and Claude. It went pretty well - but there are some important caveats to keep in mind.
Tom Redman's avatar
Tom Redman
5 months ago
Learn the basics of HTTP streaming with Convex by re-implementing OpenAI's SDK using built-in fetch and async iterators. No npm dependencies needed.
Ian Macartney's avatar
Ian Macartney
8 months ago
By leveraging HTTP actions with streaming, this chat app balances real-time responsiveness with efficient bandwidth usage. Users receive character-by-character updates to their own responses directly from ChatGPT, while other users see periodic updates, minimizing database bandwidth.
Sarah Shader's avatar
Sarah Shader
8 months ago
Implementing "work stealing" - a workload distribution strategy - using Convex's reactive database.
Ian Macartney's avatar
Ian Macartney
9 months ago
I recently built a full-stack app called notesGPT. It allows you to record a voice note, transcribes it, and extract action items and display them as action items. It’s fully open source and comes equipped with authentication, storage, vector search, action items, and is fully responsive on mobile for ease of use.
Using Convex, 4 web devs built their own fullstack app based on this prompt: > Build a way to show real-time updates on the website for a Dungeons and Dragons-themed small business! See what they built, learn how they did it, and watch their reactions to each other's work in this installment of the "4 Web Devs, 1 App Idea" video series.
Jason Lengstorf's avatar
Jason Lengstorf
a year ago