Payload Code-configured CMS and application backend built into Next.js with multiple database adapters.
Overview Payload is a code-configured content-management system and application backend running within Next.js. It provides REST and GraphQL interfaces as well as a Local API for server-side operations. A project can be self-hosted, but deployment includes the database, persistent uploads and other services the application actually uses.[2] [3]
Contents Deployment and database choices A Payload configuration defines collections, globals, fields and access rules in application code. It also controls the admin interface and can generate TypeScript interfaces for the configured content. This gives developers a way to review content-model changes alongside the application while editors continue using the admin panel. The Local API lets server-side code perform content operations without making a separate HTTP request to its own REST endpoint.[3] [11]
Payload supports database adapters rather than requiring a single storage engine, with documentation covering PostgreSQL, MongoDB and SQLite. The database choice affects schema and migration workflows. Moving an application between adapters is therefore a data-model and operations decision, not simply evidence that all underlying database files are interchangeable.[4]
The production guide warns that uploads saved on an ephemeral application filesystem can disappear when the host restarts. Cloud storage adapters provide a way to place files in durable external storage. A successful application deployment should not be mistaken for a complete plan to retain or back up uploaded media.[2]
Schema and access-control behavior Payload provides migration files and commands to evolve databases alongside application changes. These need to be coordinated with deployment, especially for schemas that require database-definition changes. The migration workflow belongs with versioned code and database recovery planning rather than being treated as an export of editorial content.[5]
Local API access-control defaults are version-sensitive. Published documentation describes operations bypassing checks by default, while the v4 canary source changes optional overrideAccess to false and explicitly identifies the earlier v3 default as true. Passing the intended user and an explicit access-control choice avoids assuming that a server-side operation inherits the caller's permissions automatically.[6] [7] [8]
Source and operational responsibility The core repository uses MIT licensing. That permits operating and adapting the software under the license conditions, but does not supply a managed database, storage service or deployment operator. The production guide separately identifies those infrastructure requirements, so the cost and responsibility of self-hosting remain part of the comparison.[1] [2]
Substitution assessment Payload can substitute for a rebuilt Strapi content backend when a code-configured Next.js application and the available adapters fit. Its Local API can keep server-side application work within the same runtime. Strapi archives do not establish direct import into Payload; schemas, authorization and stored media need a deliberate migration.[3] [4] [9] [10]
Payload can substitute for Directus when the goal is a content backend whose schema and behavior are developed with a Next.js application. Its typed configuration and Local API are useful for integrating content with custom server-side logic. Directus instead presents a Studio and API layer around SQL data, with Flows for automation. Moving between them requires translating the data model, permissions and automation; selecting a PostgreSQL adapter does not make Payload a drop-in interface for a Directus database.[2] [3] [4] [11] [12]
Payload can also substitute for Contentful for a rebuilt structured-content workflow when the team wants code-defined behavior and control of its deployment. Contentful's entries, references, assets and rich-text structures need mappings into Payload's chosen fields and relationships, followed by changes to the frontend queries. Self-hosting provides control but also leaves database, durable media storage and application operations to the project. This comparison covers content management and delivery, not automatic parity with every managed editorial service.[2] [11] [13]
Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.