6
29 Comments

Anyone using Gatsby? Which CMS to use?

I've been thinking about putting up a Gatsby site on Netlify but there are so many options for managing content for a Gatsby site I don't know which one to go with. Contentful? Markdown in a GitHub repo? Other? If you're using Gatsby, what do you use?

  1. 4

    I'm using Gatsby for Enlight and just store all my posts in markdown in a Github repo.

    1. 2

      That's a really nice example of a full web app using Gatsby - I've been thinking about using Gatsby going forward, it seems really powerful.

    2. 2

      Wow, your site looks awesome. Markdown in the site repo seems like the simplest option. Have you ever run into any problems with it?

      1. 2

        Thanks! Not really, but I may consider moving to a CMS that automatically triggers a re-deploy once I get more users to contribute. Here's the repo if you're interested: https://github.com/TryEnlight/site

        1. 1

          Thanks for sharing. Can't Firebase automatically re-deploy on a GitHub push? I know Netlify can do this which is one of the reasons I was considering it, but I guess it doesn't have all the built-in features like OAuth and such that Firebase has.

          1. 2

            Well the post data isn't stored on firebase (will create a source pull for that in the future once I put it on there). I'm using Netlify to host, so it works out well with the deploys as you said.

            1. 1

              Oh I see, so you have automatic re-deploy for source only? But aren't the posts in the project directory part of the source repo? Or are they excluded?

              1. 2

                Yes, the project directory is also deployed with the source repo.

                1. 1

                  Sorry for all the questions, I'm a little confused. Were you just saying that when you get more users to contribute you would move to a CMS, as long as that CMS still supports automatic re-deploy based on content updates?

                  1. 2

                    So, right now everything is in the repo is deployed except user data (user profiles, chat, logs, -- in firebase). What I plan to do in the future is to store tutorial data (text, images, comments) in Firebase, and use a CMS to manage that content and then once a deploy is triggered, Netlify will re-build the site, pulling the data from Firebase.

                    1. 1

                      Oh, that makes sense. Thanks for clarifying!

  2. 3

    I created Contentjet, it's a 100% free open source headless CMS. It can be used with any static site generator, like Gatsby. It also supports web hooks so you can trigger regeneration of your site(s) when content is added or updated. https://contentjet.github.io

  3. 3

    If you just need something basic, Netlify has a CMS too that is made for Gatsby with one click deploy.

    1. 1

      Sounds like the easiest way to start. Suppose if I need to "scale" I can always move my posts to a different platform.

  4. 2

    I'm using it with Prismic. It's similar to Contentful, but their pricing was closer to my budget. I've also used it with Contentful which wasn't bad, althought I did have some issues with their Gatsby source package.

    1. 2

      Hey, i'm looking for trying Prismic/Contentful myself.
      Their features seems pretty similar, what i'm trying to understand is why Contentful starts at $39 a month, while Prismic is only $7. Did you notice a big difference that would justify the big pricing gap?

      1. 2

        The features are pretty much the same as far as I can tell. Both of them have fairly generous free tiers so I haven't had to upgrade for either yet. Contentful has more and better options for fields and has an integration with Zapier. It also has a bit better UI and workflow. Aside from that they generally do the same thing and work in the same way.

        1. 2

          Ah, thanks for the information. Just found out that Contentful also has a free tier. i'll try them both then.

  5. 2

    Checkout DatoCMS - https://www.datocms.com/
    I have used them for a lot of (free) Gatsby projects, as you said you can just upgrade an account if you get a lot of traffic.
    They also have a really good Gatsby integration.

    1. 1

      Looks interesting, I'll have to check it out.

    1. 2

      @hsribei

      ;)

      1. 2

        oh wait, I failed to properly use the autocomplete? thanks Phil! :D

  6. 2

    I'm using GraphCMS, it's great to work but a little pricey to use on small projects if you need a bit more than the free tier. Maybe I will change for Contentful on a near future, looks like a good option too.

    1. 1

      Contentful looks good but the free tier only allows one space, which I assume you can only use for one site, but I could be wrong. I'd like the ability to use multiple sites on the free tier and just pay if I start getting a lot of traffic. GraphCMS seems to have a better free tier in that regard.

  7. 1

    Going to use https://strapi.io/ in my upcoming project. I think it's a good choice. Open source, #1 on headlesscms.org, looks great

  8. 1

    I use Gatsby all the time!

    I write posts in my text editor and push them to GitHub. Netlify automatically builds my master branch from GitHub.

    It's a wonderful workflow. Super simple, super fast.

  9. 1

    I'm using Gatsby on netlify and quite happy with it. There was a bit of a learning curve to it though (for reference, I've been using Jekyll forever and working as a professional React developer for a while now).

    For content management, I just edit things directly. Markdown for blog posts, in other cases I create the data programmatically, e.g. for a local meetup group I have it generating permalinks for each meetup based on a simple array of objects: https://github.com/ioddly/woodlandstech.org

    TBH, if you just want to throw up a marketing site, there's nothing wrong with Wordpress. Just keep it on a separate server...

    If you do use it, the folks in #gatsby on Reactiflux (https://reactiflux.com) are pretty helpful, including the founder of Gatsby.

    1. 2

      Seconded. I also found there to be a bit of a learning curve with Gatsby. I'd been using Jekyll for years but made the switch because I was writing React professionally.

      I still think about switching back to Jekyll every now and then...