Confect allows you to use Effect to build your Convex HTTP API(s).
Usage
1. Define your HTTP API
2. Make a Convex HTTP router
You can mount your Effect HTTP API to the root path of your Convex site URL, or to any subpath. You can even mount multiple Effect HTTP APIs to different subpaths!
If you'd like to mount an Effect HTTP API to a subpath, you must be sure that your API is prefixed with the same subpath, as this will not (yet) be done automatically for you. The easiest way to do this right now is myApi.prefix("my-subpath").
OpenAPI Documentation
Each Effect HTTP API will be accompanied by its own live OpenAPI documentation page, powered by Scalar. This can be configured via the scalar property.