- Define your Convex database schema using Effect schemas.
- Write Convex function args and returns validators using Effect’s schema library.
- Use Confect functions to automatically decode and encode your data according to your Effect schema definitions for end-to-end rich types, from client to function to database (and back).
- Use Effect’s HTTP API modules to define your HTTP API(s). Includes interactive OpenAPI documentation powered by Scalar.
- Access Convex platform capabilities via Effect services.
Prerequisites
It’s recommended that you have some familiarity with both Effect and Convex, including the vanillaconvex APIs, before getting started with Confect.
Effect documentation
Learn about Effect’s core concepts.
Convex documentation
Learn about Convex’s platform and APIs.
Supported platforms
Confect requires Node.js 22 or later, and runs on Linux, macOS, and Windows.On Windows, the
confect CLI (confect codegen, confect dev) runs
natively. Convex’s own local
deployments — anonymous
development and self-hosting — depend on a convex-local-backend binary that
Convex does not publish for Windows, so those workflows need WSL or Docker.
Developing against a Convex cloud deployment is unaffected.Next steps
Quickstart
Install Confect and build your first app.