Product
Realtime
Keep your app up to date
Actions
Scheduling and external calls done right
Transactions
Optimized and durable persistence
Open source
Self host and develop locally
Convex for Startups
Start and scale your company with Convex
FAQ
Answers to common questions about Convex
Build AI-Powered Apps
Bring your favorite APIs from OpenAI, Replicate, Pinecone and others through actions & jobs.
Convex vs. Firebase
Compare Convex to Firebase
Convex vs. Supabase
Compare Convex to Supabase
Nut Tree Case Study
Nut Tree's road to success with Convex
Tunnel Case Study
How Tunnel moved away from RDS and MongoDB
Build AI-Powered Apps
Bring your favorite APIs from OpenAI, Replicate, Pinecone and others through actions & jobs.
Learn more
Compare Convex
Convex vs. Firebase
Convex vs. Supabase
Case studies
Nut Tree
Tunnel
HostAI
Developers
Documentation
Get started with your favorite frameworks
Blog
Read our tutorials and perspectives
Search
Search across Docs, Stack, and Discord
Templates
Use a recipe to get started quickly
Convex Champions
Ambassadors that support our thriving community
Join our Community
Share ideas and ask for help
Explore Stack
Stack is the Convex developer portal and blog, sharing bright ideas, perspectives, and techniques for building with Convex.
Stack is the Convex developer portal and blog, sharing bright ideas and techniques for building with Convex.
Explore Stack
Pricing
Get started
Log in
Templates
Filter templates
Filter by tag
Tags
Starter
AI
OpenAI
Replicate
Pinecone
Clerk
Stripe
LangChain
Next.js
Expo
Rust
Hono
Auth0
Tailwind
RewindUI
DaisyUI
Game
Typeform
Lucia
AI Chat using OpenAI's Assistants API
AI chat with context retrieval using OpenAI Assistants API. This app demonstrates how you can add a chat bot to an existing website, powered by Convex and OpenAI's Assistants API.
AI Chat using LangChain and Convex
An example of building AI-powered chat interface using LangChain and its Convex integration. This app demonstrates how you can add a chat bot to an existing website, powered by Convex and LangChain.
AI Chat with Convex Vector Search
An example of building AI-powered chat interface using Convex vector search. This app demonstrates how you can add a chat bot to an existing website, powered by Convex.
Waitlist
An easy to adopt waitlist implementation using Convex. Read the detailed guide to this implementation on Stack. This template includes a full-fledged implementation of a waitlist which can be used to protect your app against surges in demand.
Streaming ChatGPT Chat Starter
A basic chat app that streams ChatGPT responses.
Chat GPT Clone Starter
A ChatGPT interface with customizable identities, threading, etc. all stored in Convex.
Semantic Code Search
Always-in-sync semantic code search app
Monorepo with Next.js and Expo
Turborepo, Next.js, Expo, Clerk, Convex
Clerk Starter
Template with Clerk for login.
Auth with Lucia
Authentication purely in Convex. This template implements authentication without any third-party auth provider, using the Lucia library.
Next.js 13 App Router
This example app showcases Convex backend powering a Next.js app.
Stripe Starter
This example app demonstrates how to integrate Stripe, the payments platform, with Convex, the backend application platform. We keep track of payments in Convex and fulfill orders when they're confirmed by Stripe. You can test the payment flow end to end using Stripe's test card numbersTo test the payments flow, follow these steps: Sign up for Stripe for free at https://stripe.com/ Install the stripe CLI RunCopy the "Your webhook signing secret" from the output of the listen command, and set it as STRIPE_WEBHOOKS_SECRET environment variable on your Convex dashboard Copy your test secret API key from the code example on https://stripe.com/docs/checkout/quickstart and set it as STRIPE_KEY environment variable on your Convex dashboard You can then use the test credit card details to go through the payment flow, see https://stripe.com/docs/checkout/quickstart#testing
Headless API feat. Hono
Using the Hono library in your http handlers.
Embeddings with OpenAI and Pinecone
This example demonstrates a fullstack application built with Convex, React, Next.js, and Auth0. The app is a very simple Asana-style task management app that allows users to create, view, and manage tasks. The app features: Basic Authentication & Authorization, implemented with Auth0 and Convex Task creation, where each task may have: Owner Title Description Status (New | In Progress | Done | Cancelled) Comments File attachments (from a fixed collection to prevent abuse) Task management, allowing users/task owner to: Add a comment Change status (owner only) Reassign ownership (owner only) Filter tasks by ticket status or owner Search tasks by title, description, or comments Infinite-scroll pagination to support very large task collections
Drawing with AI Example
Turn scribbles into art using a Replicate model. A good starter for Replicate with Convex.
Fullstack: Project MGMT Example
This example demonstrates a fullstack application built with Convex, React, Next.js, and Auth0. The app is a very simple Asana-style task management app that allows users to create, view, and manage tasks. The app features: Basic Authentication & Authorization, implemented with Auth0 and Convex Task creation, where each task may have: Owner Title Description Status (New | In Progress | Done | Cancelled) Comments File attachments (from a fixed collection to prevent abuse) Task management, allowing users/task owner to: Add a comment Change status (owner only) Reassign ownership (owner only) Filter tasks by ticket status or owner Search tasks by title, description, or comments Infinite-scroll pagination to support very large task collections
AI Storybook Example
An example project showing how to make a full-stack app that integrates elements of generative AI. This project features the following platforms and frameworks: Replicate OpenAI LangChain.js Convex Video This project was coded on a live stream. The video, which introduces the concepts gradually and explains how the project was built, is found on YouTube here: https://www.youtube.com/watch?v=4DEFIEHbC_s Steps The project is broken up an initial state, and then three steps/stages of development that are completed during the video. The end result of each step is a separate subdirectly in this repository. Step 0 (The initial state): A simple, frontend-only React app that shows a caurosel view with each cell representing a page in a children's book. The left side of the cell is the text of the page of the book, which can be edited by clicking the text and typing in the resultant textarea. The right side of the cell is reserved for an eventual AI-generated image to accompany the page contents. For now this will show a simple spinner. This basic React app will be more of less unchanged as we develop the rest of the project on the backend. The page state is driven by an in-app useState React state variable, but that will soon change. Step 1: A full-stack app, where we've swapped out the React state for a Convex backend. We'll replace useState with useQuery, and do the other plumbing necessary to make our app state stored in the backend. Step 2: Initial generative AI. We'll create a background task that fetches an image to represent the illustration for each page from a Replicate model using the LangChain.js library. The prompt for any given page will just be the page contents. Step 3: Richer, prompt-tuned generative AI. We'll introduce using "chaining" from LangChain.js, and we'll utilize it to both improve our prompts, and to connect ChatGPT to our app to further refine our storybook illustrations.
Rust Convex Starter
This project contains a simple convex-chat backend implementation in convex/, as well as a Rust command line program in src/ that can either watch the chat channel or send a message.
Multiplayer Game With AI Sample
A multiplayer game built with Convex, OpenAI's Dall-E, with session state. Guess the image's prompt!
Auth0 Starter
Template for starting a Convex project with Auth0 for login.
Node.js Example
Node.js chat and web server
Using Typeform with Convex Example
This is an example app using Typeform as a way to get data into a Convex project! The frontend (in /app) is custom to my specific example app, a dog-spotting "social media" app using a Typeform to collect the dogs users have seen. It's here for developing the scripts and Convex functions for Typeform integration, but isn't itself reusable since it's tightly coupled to my specific example Typeform.
Resources
Developer portal
Docs
Pricing
Templates
Changelog
Company
About us
Investors
Jobs
News
Legal
Security
Social
Twitter
Discord
©2024 Convex, Inc.