Mockingbird

Stateful test emulator of the Payload collection REST API with seeded data

Community 5 1.4k/wk MIT v3.17.1

Installation

pnpm add @crvouga/mockingbird-service-payload-cms

About

Mockingbird Payload CMS stands in for a Payload backend during tests, so your application can call the collection REST API without a running CMS. It returns Payload's paginated response envelope, supports the common where-query operators, and serves documents by id. The marketing collection starts with seeded referral and banner cards, so tests get the same content on every run.

An admin plane lets a test add, change, or delete documents, replace whole collections, and trigger failure modes such as server errors, timeouts, and malformed JSON. Your application code keeps using the Payload SDK, which only needs its fetch pointed at the emulator. Writes, access control, drafts, and GraphQL are not modelled.

Package info

Package name
@crvouga/mockingbird-service-payload-cms
Latest version
3.17.1
Unpacked size
207 kB
License
MIT
Weekly downloads
1.4k
Last publish
Nov 18, 2026

Similar tools

More in Dev workflow

Editor support for Payload component paths, with import checks and autocomplete

Governance checks and ESLint rules for Payload project structure, access code and hooks

Manifest, linter and Payload block generator for a design system's components

Automated code transforms that move a Payload project past breaking changes

Idempotent seed runner that fills a Payload database with ordered, cross-referenced content

Agent skill that enforces generated, paired Payload database migrations and gates destructive changes