DEV Community

Cover image for Content Management with Gatsby, Netlify and Contentful

Content Management with Gatsby, Netlify and Contentful

Babs Craig on February 22, 2019

Gatsby, Netlify and Contentful - The Triple Tag Team For Content Management Success I've been using Gatsby for the better part of 6 mo...
Collapse
 
megazear7 profile image
megazear7

Great post! I'll definitely have to run through the steps in detail as time allows and set up an example site. I did something similar with a different set of technologies but I like the auto build web hooks and such. I might try to do something similar but swap out react for the pwa-starter-kit from the polymer team and see how that goes.

Collapse
 
thebabscraig profile image
Babs Craig

Yep. Gatsby, Contenful or Netlify taken individually, can work with other technologies too. I'd love to hear how that goes. Do let me know!

Collapse
 
megazear7 profile image
megazear7

So I went all in on this. I ended up building out a static site generator called Orison on top of lit-html, which is the new Polymer templating library. It is pretty awesome to create a static site with lit-html templating, as it is so close to bare bones JavaScript, making the entire developer experience built on native web technologies even at the site generation step. I am in the process of using this approach to create multiple ecommerce sites for my clients. They are not quite ready to share but over all this JAMstack / Contentful + Netlify combo with is a great way to build websites.

Thread Thread
 
thebabscraig profile image
Babs Craig

Glad the article was able to help. Sounds like an interesting project you're working on.

Collapse
 
uptheirons78 profile image
Mauro Bono

Friend, you are great and really SAVED my day with the "webhook" explanation! I was getting crazy on how to set a proper cache plan to avoid triggering a .cache clear any time I was adding a post or modify an old one in Contentful. Thanks a lot!

Collapse
 
arberbr profile image
Arber Braja

Thank you for the post. Im currently using a setup almost the as this one for my website.

Gatsby and Netlify but the content is not pulled from Contentful or any external headless CMS. Im using local files instead in markdown as content source.

Collapse
 
theodesp profile image
Theofanis Despoudis

Ouch 39$ / month for Contentful is quite pricey. That's the cost of a Safari books Subscription or something similar. Have you considered netlifycms.org/ ?

Collapse
 
thebabscraig profile image
Babs Craig

Contentful has a pretty expansive free plan. A lot of small businesses and projects can get by on the free version for quite a while. I'd have to take a look at Netlify CMS too. Thanks!

Collapse
 
jdozierezell profile image
Jonathan

DatoCMS is also has an easy integration with Gatsby and Netlify. A little more affordable at their first paid tier as well. One of my favorite features of Contentful and Dato is that they both work with gatsby-image, which is possibly my favorite part of Gatsby.

Collapse
 
jaffparker profile image
Jaff Parker

This is great, thanks for this tutorial! I only knew about Gatsby before, but this combo is a game changer

Collapse
 
thebabscraig profile image
Babs Craig

I'm glad you found it useful. We're really lucky to have with such great tools to build with.

Collapse
 
yaron profile image
Yaron Levi

thank you! nice article