Integrations and adapters
Integrations and adapters
Connect better-effect to HTTP, web frameworks, databases, and durable MQ storage.
Integrations keep their host library's boundary intact. They provide Services or Layers that your composition root owns; they do not create a second application runtime or move business logic into a container.
HTTP client
Typed Fetch requests, retries, schemas, NDJSON and streaming.
KyselyKeep SQL builders and transaction ownership explicit.
Better AuthAdapt Better Auth sessions and hooks to typed programs.
MQ storage adaptersChoose PostgreSQL, Redis, MongoDB, MySQL, or SQLite for the same queue API.
Pick the boundary you own
Use Web and framework adapters for request lifetimes, Schema for explicit decoding, and Backends when you need to understand resolver ownership. For queues, start with MQ before selecting a database adapter.