---
title: "Node.js CMS: Headless Options Compared by How They Run"
url: https://busyless.space/headless-cms/nodejs
updated: 2026-11-25
source: busyless.space
---

# Node.js CMS: a package in your app, a server beside it, or none

A Node.js CMS is written in JavaScript or TypeScript, but that says little about how you run it. Of the 16 here, three install into your own app (Payload, TinaCMS and Alinea), nine run as a separate server beside your site, and the rest either need no server or keep the content store on the vendor's cloud. Decide that first: it sets your hosting, your database and how upgrades go.

- platforms built on Node.js or TypeScript: 16
- install into your own app: 3
- generate TypeScript types from your schema: 8
- publish a Docker image under their own account: 2

## One language, four ways to run

Search for a Node CMS and the lists mix very different products. Some are a server with its own admin panel and API, which you deploy and keep running beside your website. Some are a package you add to a Next.js app, so the CMS and the site ship as one. Some never run on a server at all: they are editors that commit Markdown to Git. And some write their studio in TypeScript while the content store stays on the vendor's cloud.

All of them answer to "nodejs headless cms", and all 16 here are written in JavaScript or TypeScript. What separates them is what you operate. Every fact below was read from the vendor's own docs, repository or pricing page.

> **A disclosure before you read on** This site runs on [Payload](https://busyless.space/headless-cms/nextjs/payload), which is why it carries our featured badge: we picked it for our own site first, and the recommendation followed. Figma has owned Payload since 17 June 2025, and the practical protection is the MIT license on code already published, which cannot be withdrawn. For most clients without developers, we still recommend Sanity.

## Every Node.js CMS we review

16 platforms whose code runs on Node.js or TypeScript, from a single VS Code extension to a server with seven database drivers. Each card links to a full review with pricing and limits.

- [Payload](https://busyless.space/headless-cms/nextjs/payload) (Markdown: https://busyless.space/headless-cms/nextjs/payload.md): A MIT-licensed CMS that installs into your Next.js app rather than sitting beside it. Config is TypeScript, the admin panel is generated from it, and the database is yours. From Free.
- [Sanity](https://busyless.space/headless-cms/enterprise/sanity) (Markdown: https://busyless.space/headless-cms/enterprise/sanity.md): The structured-content platform behind a large share of serious Next.js marketing sites. You build the editing Studio as React code in your own repository; Sanity hosts the content and serves it over GROQ. From $0.
- [Strapi](https://busyless.space/headless-cms/open-source/strapi) (Markdown: https://busyless.space/headless-cms/open-source/strapi.md): The best-known open-source headless CMS, self-hostable and Node-based. The MIT grant is narrower than everyone assumes: having a Strapi Cloud account is one of the things that voids it. From Free.
- [Directus](https://busyless.space/headless-cms/nodejs/directus) (Markdown: https://busyless.space/headless-cms/nodejs/directus.md): Wraps any existing SQL database in a REST and GraphQL API plus an admin app. Not open source, but free and fully permissive for organisations under $5m revenue and 50 staff. From Free.
- [Ghost](https://busyless.space/headless-cms/open-source/ghost) (Markdown: https://busyless.space/headless-cms/open-source/ghost.md): A publishing platform with memberships and newsletters built in, MIT licensed and genuinely self-hostable. Excellent at articles, deliberately narrow at everything else. From Free.
- [TinaCMS](https://busyless.space/headless-cms/open-source/tinacms) (Markdown: https://busyless.space/headless-cms/open-source/tinacms.md): Visual editing on top of Markdown and JSON in your own Git repository, Apache-2.0 licensed. The content stays in your repo whether or not you keep paying. From $0.
- [Keystone](https://busyless.space/headless-cms/open-source/keystone) (Markdown: https://busyless.space/headless-cms/open-source/keystone.md): A code-first headless CMS and GraphQL backend. You define the schema in TypeScript and get a Prisma-backed database, a typed GraphQL API and an admin UI generated from it. From Free.
- [Webiny](https://busyless.space/headless-cms/open-source/webiny) (Markdown: https://busyless.space/headless-cms/open-source/webiny.md): An open-source CMS that deploys into your own AWS account as serverless infrastructure. The MIT Community edition is free; multi-tenancy, roles and publishing workflows need a paid license. From Free.
- [Plasmic](https://busyless.space/headless-cms/react/plasmic) (Markdown: https://busyless.space/headless-cms/react/plasmic.md): A visual React page builder with a built-in CMS that is unlimited on every plan, free included. Open source since 2023 (MIT runtime, AGPL Studio), with the editor guardrail role and localisation reserved for Scale. From Free.
- [ApostropheCMS](https://busyless.space/headless-cms/open-source/apostrophecms) (Markdown: https://busyless.space/headless-cms/open-source/apostrophecms.md): A Node.js CMS with in-context visual editing and an MIT-licensed core, plus a paid Pro edition and a multi-site product for agencies. From Free.
- [Alinea](https://busyless.space/headless-cms/git-based/alinea) (Markdown: https://busyless.space/headless-cms/git-based/alinea.md): A TypeScript-first CMS for Next.js that keeps content in your repository as JSON and generates fully typed queries. Publishing from a live site needs a backend: Alinea Cloud, free in beta, or your own. From Free.
- [Contember](https://busyless.space/headless-cms/open-source/contember) (Markdown: https://busyless.space/headless-cms/open-source/contember.md): An Apache-2.0 TypeScript backend with a GraphQL API and a React admin you build yourself, aimed at teams that want a headless CMS shaped like an application. From Free.
- [Pages CMS](https://busyless.space/headless-cms/git-based/pages-cms) (Markdown: https://busyless.space/headless-cms/git-based/pages-cms.md): An open-source CMS for GitHub-hosted static sites that needs no install at all: authorise the hosted app against your repo and start editing. From Free.
- [Graphweaver](https://busyless.space/headless-cms/open-source/graphweaver) (Markdown: https://busyless.space/headless-cms/open-source/graphweaver.md): An Apache-2.0 TypeScript tool that turns multiple existing data sources into one GraphQL API with a generated admin UI. A CMS-shaped layer over data you already have. From Free.
- [Front Matter CMS](https://busyless.space/headless-cms/git-based/front-matter-cms) (Markdown: https://busyless.space/headless-cms/git-based/front-matter-cms.md): A CMS that lives inside VS Code. Content stays as Markdown in your repo and the editing interface is an editor panel, which suits developer-authored sites. From Free.
- [Contentrain](https://busyless.space/headless-cms/git-based/contentrain) (Markdown: https://busyless.space/headless-cms/git-based/contentrain.md): A git-based CMS with MIT-licensed packages, an AGPL-3.0 Studio, an official MCP server and cloud tiers starting at $9 a month. Content stays in your repository as JSON and Markdown. From Free.

## What you deploy with each one

Grouped by what runs in production, not by the language it is written in.

9 of 16 run as a separate server you deploy and keep running

- **Inside your app** (one deploy, your database), 3: [Payload](https://busyless.space/headless-cms/nextjs/payload), [TinaCMS](https://busyless.space/headless-cms/open-source/tinacms), [Alinea](https://busyless.space/headless-cms/git-based/alinea)
- **A server beside it** (a separate CMS service), 9: [Strapi](https://busyless.space/headless-cms/open-source/strapi), [Directus](https://busyless.space/headless-cms/nodejs/directus), [Ghost](https://busyless.space/headless-cms/open-source/ghost), [Keystone](https://busyless.space/headless-cms/open-source/keystone), [Webiny](https://busyless.space/headless-cms/open-source/webiny), [ApostropheCMS](https://busyless.space/headless-cms/open-source/apostrophecms), [Contember](https://busyless.space/headless-cms/open-source/contember), [Pages CMS](https://busyless.space/headless-cms/git-based/pages-cms), [Graphweaver](https://busyless.space/headless-cms/open-source/graphweaver)
- **No server** (an editor that writes to Git), 2: [Front Matter CMS](https://busyless.space/headless-cms/git-based/front-matter-cms), [Contentrain](https://busyless.space/headless-cms/git-based/contentrain)
- **Hosted backend** (the vendor runs the content store), 2: [Sanity](https://busyless.space/headless-cms/enterprise/sanity), [Plasmic](https://busyless.space/headless-cms/react/plasmic)

_From each vendor's installation and deployment docs, 2026-11-25. TinaCMS appears once, inside your app, because that is its self-hosted shape; TinaCloud is its hosted option._

The two ends behave very differently. Front Matter CMS and Contentrain need nothing but a Git repository and a person with access to it. Sanity and Plasmic give you code to run, a studio or an SDK, while the content itself lives with the vendor, so leaving means an export.

## Inside your app or beside it

The decision most comparisons skip.

A Node.js CMS that installs into your app, like Payload, TinaCMS and Alinea, shares your Next.js deploy, your database and your hosting bill. One codebase, one pipeline, and content queries that run in the same process as your pages. The cost is coupling: the CMS upgrades when your framework does, and an admin panel now lives inside your production app.

A server beside your site, like Strapi, Directus, Ghost and Keystone and five others, is the older shape. It runs on its own host with its own database and serves content over REST or GraphQL to any frontend: Next.js, Nuxt, a mobile app. You run two services instead of one, but either side can change without touching the other.

If one website is the only consumer, inside your app is usually simpler. If several apps read the same content, or your editors need the CMS up while the site is being rebuilt, a separate server earns its keep.

## Framework, Node.js version and database

What each one runs on, as its own docs state it.

| Platform | Runs as | Server framework | Node.js | Databases |
| --- | --- | --- | --- | --- |
| [Payload](https://busyless.space/headless-cms/nextjs/payload) | In your app | Next.js | 22, 24 or 26 (patch minimums apply) | MongoDB, PostgreSQL, SQLite |
| [Sanity](https://busyless.space/headless-cms/enterprise/sanity) | Hosted | None | 22.12 or later | Sanity Content Lake (hosted only) |
| [Strapi](https://busyless.space/headless-cms/open-source/strapi) | Server | Koa | LTS only: 22, 24, 26 | PostgreSQL, MySQL, MariaDB, SQLite |
| [Directus](https://busyless.space/headless-cms/nodejs/directus) | Server | Express | 26 or newer for npm installs | PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, OracleDB, CockroachDB |
| [Ghost](https://busyless.space/headless-cms/open-source/ghost) | Server | Express | 22 or 24 LTS | MySQL 8 in production, SQLite for development |
| [TinaCMS](https://busyless.space/headless-cms/open-source/tinacms) | In your app | Next.js API route | 22 or 24 LTS | Your Git repository, plus MongoDB or Vercel KV as the index |
| [Keystone](https://busyless.space/headless-cms/open-source/keystone) | Server | Express | Not documented | PostgreSQL, MySQL, SQLite |
| [Webiny](https://busyless.space/headless-cms/open-source/webiny) | Server | None | 24 or later | Amazon DynamoDB, optionally with OpenSearch |
| [Plasmic](https://busyless.space/headless-cms/react/plasmic) | Hosted | None | Not documented | Vendor-managed |
| [ApostropheCMS](https://busyless.space/headless-cms/open-source/apostrophecms) | Server | Express | 22 or later (24 recommended) | MongoDB, PostgreSQL, SQLite |
| [Alinea](https://busyless.space/headless-cms/git-based/alinea) | In your app | Next.js | 24 or later | Your Git repository, plus PostgreSQL, MySQL or SQLite for drafts |
| [Contember](https://busyless.space/headless-cms/open-source/contember) | Server | None | Not documented | PostgreSQL |
| [Pages CMS](https://busyless.space/headless-cms/git-based/pages-cms) | Server | Next.js | Not documented | Your GitHub repository, plus PostgreSQL for app state when self-hosted |
| [Graphweaver](https://busyless.space/headless-cms/open-source/graphweaver) | Server | Fastify | later than 22 | PostgreSQL, MySQL, SQLite, plus REST APIs and SaaS sources |
| [Front Matter CMS](https://busyless.space/headless-cms/git-based/front-matter-cms) | Editor | None | Not documented | Markdown files in your Git repository |
| [Contentrain](https://busyless.space/headless-cms/git-based/contentrain) | Editor | Nuxt (Studio only) | 22 or later | Your Git repository; PostgreSQL for a self-hosted Studio |

_From each vendor's installation docs and package manifests, 2026-11-25. "Not documented" means the docs name no Node.js version._

Check the Node.js column before you pick a host. Several need a current LTS release and some have moved past it already, while Keystone, Plasmic, Contember and Pages CMS state no version at all, so test on the version your host runs.

## TypeScript headless CMS: schema in code or in the admin

Where your content model lives decides how it is reviewed, versioned and typed.

| Platform | Schema lives in | Generates types | Start with |
| --- | --- | --- | --- |
| [Payload](https://busyless.space/headless-cms/nextjs/payload) | Code | Yes | `npx create-payload-app` |
| [Sanity](https://busyless.space/headless-cms/enterprise/sanity) | Code | Yes | `npm create sanity@latest` |
| [Strapi](https://busyless.space/headless-cms/open-source/strapi) | Both | Yes | `npx create-strapi@latest` |
| [Directus](https://busyless.space/headless-cms/nodejs/directus) | Admin UI | Not documented | `docker compose up` |
| [Ghost](https://busyless.space/headless-cms/open-source/ghost) | Not documented | Not documented | `ghost install` |
| [TinaCMS](https://busyless.space/headless-cms/open-source/tinacms) | Code | Yes | `npx create-tina-app@latest` |
| [Keystone](https://busyless.space/headless-cms/open-source/keystone) | Code | Yes | `npm create keystone-app@latest` |
| [Webiny](https://busyless.space/headless-cms/open-source/webiny) | Both | Not documented | `npx create-webiny-project` |
| [Plasmic](https://busyless.space/headless-cms/react/plasmic) | Admin UI | Not documented | `npx create-plasmic-app` |
| [ApostropheCMS](https://busyless.space/headless-cms/open-source/apostrophecms) | Code | Not documented | `npm create apostrophe@latest` |
| [Alinea](https://busyless.space/headless-cms/git-based/alinea) | Code | Yes | `npx alinea init` |
| [Contember](https://busyless.space/headless-cms/open-source/contember) | Code | Not documented | `npx @contember/create quickstart` |
| [Pages CMS](https://busyless.space/headless-cms/git-based/pages-cms) | Code | Not documented | Not documented |
| [Graphweaver](https://busyless.space/headless-cms/open-source/graphweaver) | Code | Yes | `pnpx graphweaver@latest init` |
| [Front Matter CMS](https://busyless.space/headless-cms/git-based/front-matter-cms) | Code | Not documented | `code --install-extension eliostruyf.vscode-front-matter` |
| [Contentrain](https://busyless.space/headless-cms/git-based/contentrain) | Code | Yes | `npx contentrain init` |

_From each vendor's docs, 2026-11-25. "Generates types" is a yes only where the docs show TypeScript types generated from your content model._

11 define the schema in code: the model sits in your repository, goes through pull requests and deploys with the app. Directus and Plasmic build it in the admin, which suits teams where a non-developer shapes the model, and Strapi and Webiny offer both. A TypeScript CMS that also generates types, as eight here do, turns a renamed field into a compile error instead of a blank page.

## Hosting it: memory, Docker and the vendor's cloud

What it takes to keep one running, and who will run it for you.

Few vendors state the memory a Node CMS needs. Strapi, Directus, Ghost, Plasmic and ApostropheCMS do, from 512MB minimum per container for Directus upward; the rest leave it to you to measure. Only two publish an official Docker image: Directus (`directus/directus`) and Contember (`contember/engine`). Ghost's own Docker setup uses the Docker Official Image, which Docker maintains; others ship an example Dockerfile, or nothing.

| Platform | Memory the docs state | The vendor's managed option |
| --- | --- | --- |
| [Sanity](https://busyless.space/headless-cms/enterprise/sanity) | Not documented | Free; Growth $15 per seat a month |
| [Strapi](https://busyless.space/headless-cms/open-source/strapi) | 2GB minimum, 4GB recommended | Strapi Cloud from $35 a month per project |
| [Directus](https://busyless.space/headless-cms/nodejs/directus) | 512MB minimum per container, 2GB recommended | Directus Cloud from $99 a month ($89 billed yearly) |
| [Ghost](https://busyless.space/headless-cms/open-source/ghost) | 1GB minimum | Ghost(Pro) from $15 a month, billed yearly |
| [TinaCMS](https://busyless.space/headless-cms/open-source/tinacms) | Not documented | TinaCloud free for 2 users; Team $29 a month |
| [Plasmic](https://busyless.space/headless-cms/react/plasmic) | 8GB for the Studio container (development guide) | Free; Starter $39 a month, billed yearly |
| [ApostropheCMS](https://busyless.space/headless-cms/open-source/apostrophecms) | 2GB for the app and database | Hosting from $39 a month |
| [Alinea](https://busyless.space/headless-cms/git-based/alinea) | Not documented | Alinea Cloud free (beta) |
| [Contember](https://busyless.space/headless-cms/open-source/contember) | Not documented | Contember Cloud free for side projects; Entry $29 a month per project |
| [Pages CMS](https://busyless.space/headless-cms/git-based/pages-cms) | Not documented | Free hosted app |
| [Contentrain](https://busyless.space/headless-cms/git-based/contentrain) | Not documented | Studio from $9 a month |

_Managed prices are USD from each vendor's pricing page, US view, 2026-11-25._

Payload, Keystone, Webiny, Graphweaver and Front Matter CMS sell no managed hosting at all, and Payload's cloud is closed to new projects: you run them on your own server, a platform like Vercel or Railway, or your own cloud account.

## Upgrades and leaving: what each shape costs later

The first install is the easy day. These are the ones after it.

- **Inside your app** (Payload, TinaCMS and Alinea): the CMS version and the framework version move together. A major Next.js release can wait on the CMS, and the reverse. Leaving means removing a package and keeping the database, which is already yours.
- **A server beside it** (nine platforms): upgrade the CMS on its own schedule, then check the API your site reads. Leaving means an export from a database you run, plus rewriting the queries in your frontend.
- **No server** (Front Matter CMS and Contentrain): nothing to upgrade but the editor. The content is Markdown or JSON in your repository, so leaving costs almost nothing.
- **Hosted backend** (Sanity and Plasmic): the vendor upgrades the backend for you. Leaving means exporting from their service and moving every document to a new model.

None of these is wrong. They put the work in different places: the in-app shape at upgrade time, the server shape in operations, the hosted shape at the exit. Pick the one whose cost your team is best placed to pay.

## How to choose a Node.js headless CMS

Four questions, in the order they narrow the list.

1. **How many apps read the content?** One Next.js site points to a CMS inside your app. Several frontends point to a server beside them.
2. **Who edits the model?** Developers who review changes in pull requests want the schema in code. A content lead who adds fields wants it in the admin.
3. **Do you want types?** A TypeScript headless CMS that generates types catches renamed fields at build time.
4. **Who runs it?** Check the memory, the Docker image and the managed option before you commit to running it yourself.

## Where to go from here

- [Headless CMS for React](https://busyless.space/headless-cms/react): 48 platforms, 15 of them also on this page.
- [Self-hosted headless CMS](https://busyless.space/headless-cms/self-hosted): 32 platforms, 15 of them also on this page.
- [Headless CMS for Next.js](https://busyless.space/headless-cms/nextjs): 46 platforms, 14 of them also on this page.
- [Content engineering](https://busyless.space/blog/content-engineering): What a headless CMS makes possible once content is structured.
- [Sanity vs Strapi](https://busyless.space/compare/sanity-vs-strapi): One will never let you hold the database. The other will, and its MIT grant has conditions about exactly that.

## Node.js headless CMS, answered

### Which Node.js CMS runs inside a Next.js app?

Payload, TinaCMS and Alinea. Each installs into your Next.js project, so the admin and the site deploy together. TinaCMS can also run on its own hosted backend, TinaCloud.

### Which TypeScript CMS platforms generate types from the content model?

Payload, Sanity, Strapi, TinaCMS, Keystone, Alinea, Graphweaver and Contentrain, according to their docs. The types come from your schema, so the compiler flags a query that reads a field you removed.

### Is Strapi or Directus the better NodeJS headless CMS for an existing database?

Directus. It points at an existing SQL database and builds the API and admin from the tables already there. Strapi owns its database and creates the tables from the content types you define.

### Which Node.js headless CMS platforms publish an official Docker image?

Directus and Contember, under their own Docker Hub accounts. Ghost's setup uses the Docker Official Image, which Docker maintains rather than Ghost. Strapi says it builds no official image; several others ship an example Dockerfile.

### Which Node.js headless CMS platforms need Node.js 24 or later?

Directus (26 or newer for npm installs), Webiny (24 or later), Alinea (24 or later), per their docs. Check the version your host runs before you choose; the rest support 22 as well, or state no version.

### Can a Node.js headless CMS run without a server?

Yes, if it is an editor over Git. Front Matter CMS and Contentrain commit content to your repository, and your static site builds from the files. There is no API to host, but also no live content API for an app to call.

---

An independent comparison by busyless. No affiliate links and no paid placement. Prices and terms were read from each vendor's own pages; checked 2026-11-25. HTML version: https://busyless.space/headless-cms/nodejs
