Skip to content

Guides

Use these guides after the quickstart to build an application, connect a client, and run PBVex in production. Read Backend primitives for the difference between queries, mutations, actions, HTTP actions, scheduling, and cron jobs. For the architectural overview, read How PBVex works.

For feature-by-feature walkthroughs, build contacts, conversations, realtime messages, authorization, and attachments in the Messaging app tutorial, or build checkout, idempotent webhooks, and premium entitlements in the FakePayment tutorial.

Build your backend

Add platform capabilities

Use cases and tutorials

  • Build an instant-messaging app — combine authentication, profiles, contacts, permissions, realtime messages, and attachments across a complete application.
  • Build a fake payment flow — generate checkout URLs, process provider events idempotently, and activate premium entitlements.

Connect an application

  • Client SDK — configure @pbvex/client, call functions, and subscribe to realtime updates.
  • React — use the provider and hooks in React applications.
  • Svelte — use the Svelte 5 client and reactive query helpers.
  • Examples — start from complete client and framework slices.

Deploy and operate

  • Deployment — build, activate, inspect, and roll back application code.
  • Self-hosting PBVex — install the server, access PocketBase administration, and manage persistent state.
  • Going to production — configure systemd, Nginx, TLS, mail, security, and backups.
  • Testing — test applications, clients, and the repository.
  • Limits and boundaries — understand runtime, protocol, and single-node constraints.

Generated API reference. Source of truth is the codebase.