Back to services

KeystoneJS

CMS and web application platform.

View alternatives to KeystoneJS
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: The official website could not be crawled this time. The content below is based on known information about KeystoneJS (Keystone 6). Please refer to the official website for specific details.

Introduction

KeystoneJS is an open-source headless CMS and application backend framework developed and maintained by the Australian company Thinkmill. The current major version is Keystone 6. It takes a "schema-driven" approach to development: developers describe their data models (lists and fields) in TypeScript/JavaScript, and Keystone generates the database structure, the GraphQL API and the admin interface (Admin UI) from those definitions.

Key Features

  • Schema-driven development: Define lists (List) and fields (Field) in a configuration file, with field types including text, number, relationship, timestamp, select, image, file and more.
  • Auto-generated GraphQL API: Generates a fully featured GraphQL API from your schema, supporting queries, filtering, sorting, pagination and create/update/delete operations. Custom resolvers can also be added.
  • Admin UI: A built-in Admin UI based on React/Next.js lets content editors manage data, with support for custom views and components.
  • Access control: Configure fine-grained permission rules by list, operation and field.
  • Hooks: Run custom business logic and validation before and after data is created, updated or deleted.
  • Authentication: Session-based user login through the official authentication package.
  • Rich text Document field: A configurable structured rich text editor that supports custom component blocks.
  • Database support: Uses Prisma under the hood, supports PostgreSQL, MySQL and SQLite, and provides database migration capabilities.

Target Users and Use Cases

Keystone is suited to JavaScript/TypeScript developers and teams who want full control over their data model and backend logic through code. Common uses include:

  • Providing a content management backend for websites and mobile apps;
  • Building Jamstack or full-stack applications together with front-end frameworks such as Next.js;
  • Quickly setting up internal tools and data management systems with an admin interface;
  • Building custom GraphQL backends for e-commerce, blog, portal and similar projects.

Core Strengths

  • Code first: Configuration is code, so it can be kept under version control and is type-safe.
  • Flexible and extensible: The API, admin interface and business logic can all be deeply customized.
  • Fully open source and self-hostable: Released under the MIT license, so you keep control of your data with no vendor lock-in.
  • Modern tech stack: TypeScript, GraphQL, Prisma, Next.js.

Installation and Deployment

You can create a project quickly with the official scaffolding tool:

npm create keystone-app@latest
# or
yarn create keystone-app

After creating the project, run npm run dev to start the development server, and you can then access the Admin UI and the GraphQL Playground. In production, you can deploy to any server or cloud platform that supports Node.js and connect it to a PostgreSQL or MySQL database.

Technical Requirements

  • Node.js runtime (the current LTS version is recommended)
  • Database: PostgreSQL, MySQL or SQLite
  • JavaScript/TypeScript development skills

Notable Characteristics

  • It is a developer-oriented framework, not an out-of-the-box visual site builder; users need to write code to define the schema.
  • Built-in image and file fields can be configured to use local storage or S3-compatible storage.
  • In addition to the GraphQL API, it also provides a server-side Context API, making it easy to work with data directly in custom code.