Pottr / Docs
Section: Introduction
Getting Started

Introduction

Pottr is a WordPress plugin that equips WordPress with an application backend layer — providing structured custom collections, REST APIs, decoupled app-user authentication, automated schema blueprints, and outgoing webhooks.

The Developer Mental Model

Traditional WordPress is optimized for content management — posts, pages, categories, and custom fields stored inside wp_posts and wp_postmeta. When you build web apps, client portals, directories, booking systems, or lightweight SaaS products, forcing application entities into WordPress posts requires stitching together plugins and complex queries.

Pottr changes this equation by giving WordPress a dedicated application backend layer:

Your Frontend

React · Next.js · Vue · Mobile · SPA

↓ REST JSON ↓

Pottr Engine

REST API · Auth · Schema · Webhooks

Underneath: Runs natively inside your client's existing WordPress & MySQL server. No external BaaS fees or vendor lock-in.

What Pottr Provides

  • Dedicated Collections: Define structured schemas with 9 field types without polluting WordPress Custom Post Types or postmeta tables.
  • Predictable REST API: Complete CRUD, equality filtering (filter[field]=val), pagination (limit, offset), sorting, and single-level relation expansion.
  • API Key Gateway: Public keys (pk_live_...) for frontend clients and Secret keys (sk_live_...) for server/CI pipelines.
  • Decoupled App-User Authentication: Issue JWT access tokens and 30-day refresh tokens for your application users without creating administrative wp_users records.
  • Row-Level Security: Automatic user-owned data scoping by adding a user_id field to any collection.
  • Declarative Provisioning (Blueprints): Bootstrap or migrate collection schemas and auth fields via JSON on application boot or deploy.
  • HMAC Signed Webhooks: Outgoing event notifications (entry.created, entry.updated, entry.deleted) verified with SHA-256 signatures.
Self-Contained Architecture

Pottr is 100% self-hosted on your WordPress server. All collections, entries, and app-user profiles reside on your MySQL database. No external cloud service is required to store or query your data.