The server is all based on effect and nodejs.
effect and @effect/platform are the core building blocks shared with api-client.
On top of that, the server uses also:
- @effect/platform-node: executes nodejs APIs with effect
- @effect/sql: core SQL database abstraction
- @effect/sql-pg: postgres specific SQL database implementation
- @effect/sql-drizzle: Drizzle implementation with effect
The server used Drizzle to define the database, manage migrations and execute queries:
pnpm add drizzle-orm drizzle-kitPaddle provides a node SDK client used in the project to verify the webhook signature:
pnpm add @paddle/paddle-node-sdkThe other dependencies are:
- dotenv: loads environment variables from a- .envfile
- pg: postgres client
serveralso includes the shared API definition from@app/api-client.
package.json
"dependencies": {
  "@app/api-client": "workspace:*",
  // ...
}