Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source Gatsby v4 starter pairing Decap CMS with Netlify for a Git-based business site with blog.
Gatsby + Decap CMS Starter is an open-source Gatsby v4 starter that combines the Gatsby static site generator with Decap CMS (formerly Netlify CMS) to produce a Git-based JAMstack business website with an editable blog.
Gatsby + Decap CMS Starter is a starter repository maintained by Decap CMS that outputs a pre-rendered static business website. It takes a Git repository as its source of truth and produces an optimized Gatsby site that Netlify can continuously deploy and distribute through a CDN. The template implements the Kaldi coffee company example, adapted from the One Click Hugo CMS project.
The starter's main features are organized around CMS-driven content editing, static site performance, and Netlify deployment tooling.
gatsby-plugin-image is wired to Decap CMS preview templates for the index, about, product, and blog post page types.netlify/functions folder run locally with netlify dev and deploy on Netlify.This starter suits anyone who wants a Git-backed business site with easy content editing and a modern static stack.
With this starter you can launch, edit, and extend a JAMstack business website with minimal setup.
/admin on the deployed site, log in with Netlify Identity, and create pages or blog posts that commit directly to the Git repo.netlify/functions folder and test it with netlify dev during local development.The starter works by using Git as the single source of truth: Decap CMS commits content changes, Netlify rebuilds the Gatsby site, and the static output is served from a CDN. To run locally, clone the repo, run yarn and netlify dev, and use npx netlify-cms-proxy-server to authenticate the CMS on localhost:3000/admin.
The trade-offs come from the project's JAMstack architecture and its tight Netlify integration.
Yes, the starter is open source and carries a code of conduct for contributors. You can use it for personal or commercial projects without licensing fees.
The prerequisites list Node.js 14.15.0 as the minimum version. Using a recent stable release is recommended to avoid node-gyp issues.
After running npm run build, start netlify dev in one terminal. In a second terminal, run npx netlify-cms-proxy-server; you will be automatically logged in as a user at localhost:3000/admin.
Yes, both are optional. Comment out their imports and registerMediaLibrary calls in src/cms/cms.js, then run yarn remove decap-cms-media-library-uploadcare and/or yarn remove decap-cms-media-library-cloudinary to drop the dependencies.
Yes, the Contact page includes Netlify Form support, so form submissions work when the site is deployed on Netlify.
