Installation
Usage
Define your database schema
Not every Effect
Schema is valid for use in Confect. See
Schema Restrictions for more
information about what’s permitted and what’s not.confect/tables/Notes.ts
confect/schema.ts
Define your Confect API spec
Create a Add the
GroupSpec and add some functions to it.confect/notes.spec.ts
GroupSpec to your API’s Spec.confect/spec.ts
Implement your Confect functions
Create a Add the
GroupImpl and implement its functions.confect/notes.impl.ts
GroupImpl to your API’s Impl, and finalize it.confect/impl.ts
Start your Confect app
Run the In another terminal, run the
confect dev command to generate your app’s Convex functions.convex dev command to start your Convex dev deployment.