Contentful is a headless CMS: it stores your content and delivers it through an API, while your website or app decides how to display it. One piece of content can power a website, a mobile app, and a newsletter at the same time.
How does it work? You create content models — a blog post has a title, a body, and a cover image; a product has a name, a price, and a photo. Editors fill in entries using a friendly web interface, and developers fetch those entries with the Content Delivery API.
import { createClient } from 'contentful';
const client = createClient({
space: 'YOUR_SPACE_ID',
accessToken: 'YOUR_ACCESS_TOKEN',
});
const entries = await client.getEntries({ content_type: 'blogPost' });
entries.items.forEach((post) => {
console.log(post.fields.title);
});
Contentful is great for beginners because the concepts are simple: spaces, content types, and entries. The free tier covers small projects, the editor UI needs no training, and the official SDKs exist for JavaScript, Python, and most other languages.
When should you use it? For a company blog, a product catalogue, or a marketing site that a non-technical team updates often. If the same content must appear on a website and an app, a headless CMS saves you from maintaining two copies.
The limits are worth knowing. The free tier limits the number of content types and records, and heavy use gets expensive. Because content is separate from design, you still need a developer to build the frontend — Contentful does not give you a finished website.
Start today: make a free account, create a content type called "Post" with a title and body, add two entries, and fetch them with the SDK. That round trip — model, entry, API, screen — is the whole workflow.
Top comments (0)