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 , 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 .
OpenAPI Documentation
Each Effect HTTP API will be accompanied by its own live OpenAPI documentation page, powered by . This can be configured via the scalar property.
Read more
See the for detailed information on how to build an HTTP API with Effect.