Top 5 headless CMS and their pros and cons (Gatsby JS edition)

Search for a command to run...

Not trying to offend any WordPress lovers 😅 As for a headless CMS, many competitors like Prismic, NetlifyCMS, Contentful, etc. are free or come with a free tier (no need to set up your own server). So, for people on a budget and that don't have their own server, having to host WordPress separately might be a drawback and a reason why you would go for a different option.
Lars Behrenberg Ah, gotcha! 😅 I automatically excluded the free tier option whilst reading your post, since they all have some serious limitations. But if you install it on your own server - there are no limitations I guess. I've never been a WordPress fanboy, so I was hoping to see decoupled Drupal on the list.
Thanks for your feedback. Great article!
Demo (here) | Repo (here) With the rise of the JAMStack and the serverless approach, most of the things that used to require a backend are now handled completely on the front-end or through APIs. But sometimes this is not enough, and that's where "se...

Google Fonts are amazing and widely popular on the Internet. Its API makes up 89.28% of the web fonts market share (see source). However, I often noticed that many websites struggle with fetching their fonts and end up render-blocking their website b...

Writing CSS is hard. Even though it often is made fun of and not seen as a programming language, writing consistent and pretty CSS is really hard. And in my journey as a self-taught web developer, I have often noticed that online classes and tutorial...

I have been a freelance web developer for a while now, but in the beginning, I was always wondering whether WordPress development is going to be the only way to create websites for my clients? I was looking for something to take advantage of my JavaS...

<Lars' Blog />
15 posts
Hi there, I am a freelance web developer who loves building things and blogs about the process of it. Feel free to reach out to me via my email or on Twitter!
One of the reasons why Gatsby JS has been so popular over the years is its vast plugin library that makes it almost as easy as drag-and-drop to add new functionality to your app.
Because of that, Gatsby has managed to make adding a headless CMS a straightforward and often very simple process that many other Static Site Generators (SSG) can only be astonished by.
In this post, I wanna go my top 5 headless CMS that I have used with Gatsby JS in the past and their pros and cons. Let's get started!
We start with Contentful. Probably being one of the biggest players in the headless CMS market, Contentful gets also introduced first in the official Gatsby docs for "sourcing data into Gatsby".
It provides a user-friendly interface and organized, flexible data models with support for a variety of data types and content editors (e.g. WYSIWYGs, form fields, raw text areas).
Just recently Hosting Tribunal put out a new article on WordPress's latest statistics stating this:
WordPress powers 39.6% of the internet in 2021, a growth of nearly 5% from 35% in 2020, and a 4% rise from the year before.
- HostingTribunal.com
But many people don't know that you could also use WordPress as their headless CMS. Just the way you are used, but with Gatsby or other Static Site Generators (SSG) as the front-end.
Made possible by the free and open-source WPGraphQL plugin.
Prismic is my headless CMS of choice for my personal website as the content management process for different languages works really well.
The setup is a little tricky, but once you are through that the developing experience is very straightforward and easy. The extensive free tier is something I haven't been able to find anywhere else and for personal projects as a developer, I can recommend it.
However, as soon as you would like to have people to access content without admin access, Prismic's price-point at 100$/month rules itself unfortunately out.
Netlify CMS has been together with Prismic one of my go-to-solutions when setting up a headless CMS. It's more configurable than other headless Markdown CMS like Forestry and has a community with the Netlify forum that's quick to help if you run into any problems.
Strapi has been gaining a lot of traction recently and is becoming a popular solution as headless CMS. Providing an easy to configure Rest or GraphQL endpoint it can be virtually plugged in into any framework without a lot of trouble.
Together with its plugin library and the ability to also manage file storage as well as email for you, makes Strapi definitely worth checking out!
Thanks so much for reading this far and feel free to reach out to me anytime, on my website or Twitter 🙂 And if you like to read more, make sure to check out my other posts on my blog!