https://github.com/rjdellecese/confect
Use Effect with Convex!
https://github.com/rjdellecese/confect
convex effect
Last synced: 7 months ago
JSON representation
Use Effect with Convex!
- Host: GitHub
- URL: https://github.com/rjdellecese/confect
- Owner: rjdellecese
- License: isc
- Created: 2023-07-02T19:48:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-21T17:08:56.000Z (7 months ago)
- Last Synced: 2025-07-21T19:28:04.119Z (7 months ago)
- Topics: convex, effect
- Language: TypeScript
- Homepage: https://rjdellecese.gitbook.io/confect
- Size: 1.06 MB
- Stars: 66
- Watchers: 2
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Confect 🧁
Confect is a framework that deeply integrates Effect with Convex. It's more than just Effect bindings! Confect allows you to:
* Define your Convex database schema using Effect schemas.
* Use Confect functions to automatically decode and encode your data according to your Effect schema definitions when reading from and writing to the database.
* Write Convex function args and returns validators using Effect's schema library.
* Use Effect's HTTP API modules to define your HTTP API(s). Includes interactive OpenAPI documentation powered by [Scalar](https://github.com/scalar/scalar).
* Use Effect-ified versions of all of the Convex server APIs (`Promises` become `Effect`s, `A | null`s becomes `Option`s, etc.).
Want to learn more? Read the [docs](https://rjdellecese.gitbook.io/confect)!