Skip to Content
Documentation

Backend and integrations

One backend for your selected clients.

App functions live in packages/backend/convex. Shared authentication, storage, telemetry, and payment helpers live in packages/disposabl-kit/server.

Use the app's own development or isolated preview backend while coding and testing. Keep provider credentials on the backend; never expose secret keys through public client environment variables.

Selected integrations

  • API: expose validated operations and verify their authentication boundary.
  • MCP: give agents discoverable tools backed by app operations.
  • CLI: call your app from the terminal.
  • TypeScript SDK: use the generated typed client in other applications.

Only selected platforms are included. Run the repository's generation commands after changing public operation contracts, then test with a real signed-in user and a signed-out request.

Files and analytics

Files use Convex storage by default. Configuring all required Cloudflare R2 variables enables R2 for new uploads; existing file records retain their storage provider.

Analytics is optional and production-only. Local development and E2E runs must emit no telemetry. Keep captured metadata free of prompts, private content, credentials, and full URLs.

On this page