convex-dev
Client library for interacting with the Convex Cloud.
Convex is a platform for building dynamic applications without the complexity of
managing a backend or interacting with a database. Data access functions run on
the Convex Cloud platform and use the
server libraries to read and manipulate
data. This package is used in frontend code to interact with these server-side
functions.
Usage
Create a
ConvexHttpClient
to connect to the Convex Cloud.
import { ConvexHttpClient } from "convex-dev/browser";
import convexConfig from "../convex.json";
const convex = new ConvexHttpClient(convexConfig.origin):
See
the Convex documentation
to get started!