Repolode
convex

convex/convex-backend

Open-source reactive database for web apps, letting you write server functions and data logic in pure TypeScript.

Open-source alternative to:Firebase

Stars
12,724
Forks
837
Open issues
250
Last commit
4 days ago

What is it?

Convex is an open-source reactive database for web app developers. It bundles a database, a place to write server functions in TypeScript, and client libraries, so queries and mutations run with strong consistency and live-updating data flows to the UI.

The project can be used through the hosted cloud platform, which offers a free tier, or self-hosted with Docker or a prebuilt binary. The self-hosted version includes most cloud features, including the dashboard and CLI, and is documented to work with Postgres, Sqlite, Neon, Fly.io, Vercel, and other tools.

The repository contains the Rust backend under crates/ and the TypeScript packages under npm-packages/. Build instructions are in BUILD.md, and the self-hosting guide is in the self-hosted directory.

Key features

  • 01Reactive queries that push live data updates to clients
  • 02Server functions and business logic written in pure TypeScript
  • 03Built-in database with strong consistency
  • 04Client libraries for building live-updating apps
  • 05Self-hosting via Docker or prebuilt binary, with dashboard and CLI included

Use cases

  • Building live-updating web apps such as dashboards or collaborative tools
  • Side projects that can run on a free hosted tier with little maintenance
  • Self-hosting a backend on your own infrastructure with Postgres or Sqlite

Quick start

  1. 1

    Read the getting started guide in the Convex docs

  2. 2

    Self-host using Docker (recommended) by following the self-hosting guide

Things to know

  • The license is not clearly identified in the metadata, so check the repository's license terms before use.
  • Testing and experience are strongest on Linux and Mac, with less experience on Windows.
  • Self-hosting requires setup effort, and the repo's default instance secret and admin key must be changed.
  • The repository does not include Convex's internal test suites.

Topics

FAQ

What is convex-backend?
Open-source reactive database for web apps, letting you write server functions and data logic in pure TypeScript. Convex is an open-source reactive database for web app developers. It bundles a database, a place to write server functions in TypeScript, and client libraries, so queries and mutations run with strong consistency and live-updating data flows to the UI.
Is convex-backend free to use? What license does it have?
convex-backend is open source under the Other license. Check the license terms before using it in commercial products.
Is convex-backend still maintained?
Actively maintained. The last commit to convex-backend was on Oct 16, 2026.
What can I use convex-backend for?
Building live-updating web apps such as dashboards or collaborative tools Side projects that can run on a free hosted tier with little maintenance Self-hosting a backend on your own infrastructure with Postgres or Sqlite
How do I install convex-backend?
Read the getting started guide in the Convex docs Self-host using Docker (recommended) by following the self-hosting guide
Where can I get convex-backend?
The source code and installation instructions are on GitHub: https://github.com/convex/convex-backend

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects