Skip to main content

Convex logo

Convex is the open-source reactive database designed to make life easy for web app developers, whether human or LLM. Fetch data and perform business logic with strong consistency by writing pure TypeScript.

What is Convex?

Convex provides a database, a place to write your server functions, and client libraries. It makes it easy to build and scale dynamic live-updating apps. The self-hosted product includes most features of the cloud product, including the dashboard and CLI. Self-hosted Convex works well with a variety of tools including Neon, Fly.io, Vercel, Netlify, RDS, SQLite, Postgres, and more.

Quickstart

Get started with self-hosted Convex using Docker in minutes

Architecture

Learn about Convex’s high-level architecture and components

Self-hosting guide

Comprehensive self-hosting documentation and advanced configurations

Building from source

Instructions for building the Convex backend from source

Key features

Reactive database

Convex is built from the ground up to be reactive. Your UI automatically updates when your data changes.

TypeScript everywhere

Write your server functions in pure TypeScript with strong consistency guarantees. No SQL, no ORMs—just TypeScript.

Self-hostable

Deploy Convex on your own infrastructure using Docker, or use prebuilt binaries. Supports SQLite, Postgres, and MySQL.

Dashboard and CLI

The self-hosted product includes a full-featured dashboard for managing your deployments and a powerful CLI for development workflows.

Deployment options

Docker (recommended)

Use the official Docker images for quick deployment with docker-compose

Prebuilt binary

Run the standalone binary directly on your infrastructure

Cloud platforms

Deploy to Fly.io, Railway, AWS, or any platform supporting Docker

Build from source

Compile the Rust backend yourself for custom configurations

Community and support

Development of the Convex backend is led by the Convex team. We welcome bug fixes and love receiving feedback. The repository is kept in sync with internal development work within a handful of days.

Getting started

Ready to try Convex? Head over to the quickstart guide to get your self-hosted instance running in minutes. For those new to Convex concepts, we recommend starting with the onboarding tutorial to familiarize yourself with the Convex development experience before self-hosting.

Build docs developers (and LLMs) love