
convex-backend
Open-source reactive database and backend for TypeScript web apps with live-updating data
convex-backend is a freemium AI tool for databases. It is available on Web, API, Self-hosted and CLI.
- Pricing
- Freemium
- Platforms
- Web, API, Self-hosted
- GitHub stars
- 12.8K
- Last commit
- Language
- TypeScript
- Listing updated
About convex-backend
Convex bundles a database, a runtime for server functions written in TypeScript, and client libraries into one backend. Queries and mutations run with strong consistency, and connected clients receive live updates when underlying data changes, which removes much of the glue code normally needed for real-time features.
The repository contains the open-source backend, which includes the dashboard and CLI and can be self-hosted with Docker or a prebuilt binary. Teams that prefer not to run infrastructure can use the hosted cloud platform, which has a free tier that small projects can run on at no cost.
It suits web developers building dynamic applications who want one TypeScript codebase covering data, business logic and the front end. Self-hosting is documented for several databases and hosting providers, though Windows support is less tested than Linux and macOS.
What it does
- Reactive live queries
- Clients subscribed to a query receive updated results automatically when the data behind it changes.
- TypeScript server functions
- Queries, mutations and business logic are written as pure TypeScript functions inside the backend.
- Strong consistency
- Reads and writes are transactional, so data returned to clients reflects a consistent state.
- Self-hosting with Docker
- The backend can run on your own infrastructure using Docker or a prebuilt binary, including the dashboard and CLI.
- Client libraries
- Client libraries connect front-end applications to the database and server functions.
Good for
- Building a live-updating web app without writing a separate websocket layer
- Prototyping a full-stack TypeScript side project on the free cloud tier
- Running a self-hosted backend on your own servers or cloud provider
- Keeping application data and server logic in a single TypeScript codebase
Pricing
Freemium
Free cloud tier; paid cloud plans; self-hosting available
Prices change. Check docs.convex.dev before you buy.
convex-backend FAQ
Is the Convex backend open source?
Yes, the backend source is published in a public GitHub repository, though the repository notes that some internal test frameworks are not included.
Can I self-host Convex?
Yes. The self-hosted product includes most cloud features, including the dashboard and CLI, and can be run with Docker or a prebuilt binary.
Is there a free tier on the cloud platform?
Yes, the cloud platform includes a free tier that many small applications can use at no cost.
Which languages are used for server functions?
Server functions are written in TypeScript.
Where this comes from
- Description: written from the project's README and the project's website.