API using Effect Platform

The API is implemented using effect. It uses the HttpApi module from @effect/platform to define the API endpoints.

Since version 3.10 of effect you don't need to install @effect/schema anymore, since Schema is now a built-in feature of effect.

We can therefore install the dependencies inside api-client using pnpm:

pnpm add effect @effect/platform

Make sure to install the dependencies inside packages/api-client, not in the root of the project.

package.json
"dependencies": {
  "@effect/platform": "^0.69.9",
  "effect": "^3.10.4"
}