Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gatsby 5 starter for a blog powered by the Flotiq headless CMS, styled with Tailwind CSS.
Flotiq Gatsby Blog 1 is a Gatsby 5 starter template for building a blog site whose content is managed in the Flotiq headless CMS and rendered as static pages styled with Tailwind CSS. A live demo is available at flotiq-gatsby-blog-1.netlify.app, and the starter is maintained by Flotiq with an MIT license.
This starter is a complete Gatsby project boilerplate for a blog. It takes content stored in a Flotiq account as input, pulls it into Gatsby's GraphQL data layer via the gatsby-source-flotiq plugin, and produces a static blog site. It runs on Node.js version 18.0.0 or higher because it depends on Gatsby 5, and it includes the configuration files needed for development, deployment, and content management.
flotiq start with a project name and a read-and-write API key clones the repo, installs dependencies, writes the .env file, imports example data, and launches the development server.flotiq import .flotiq command adds four example objects to your Flotiq account so the blog has content immediately.gatsby develop to get a working blog at localhost:8000.npm install -g flotiq-cli.flotiq start [projectName] [flotiqApiKey] using a read-and-write API key; the CLI clones the template, installs dependencies, creates the .env file, and imports sample data.gatsby develop to start the development server, or redeploy after editing content in the Flotiq editor.gatsby build after content changes, or configure the Flotiq Gatsby or Netlify plugin to trigger rebuilds automatically.gatsby develop after data updates and run gatsby clean after Content Type Definition changes.The project requires Node.js 18.0.0 or higher, as stated in the README. This is because the starter depends on Gatsby 5, which no longer supports older Node versions.
When you edit a Content Object in the Flotiq editor, you must rebuild the site with gatsby build. For Gatsby Cloud or Netlify, the README points to official Flotiq plugins that automate rebuilds; for other hosts, you can configure a webhook on data change.
No. The README explicitly notes that you do not need any content types in your account. The .flotiq directory supplies the necessary content type definitions, and the import command adds four example objects to your account automatically.
The .env.development file must contain GATSBY_FLOTIQ_API_KEY (your Flotiq API key) and GA_MEASUREMENT_ID (your Google Analytics measurement ID). The values are read by the gatsby-source-flotiq plugin and the analytics setup during build.
Yes. The repository includes a wrangler.toml and worker-index.js for Cloudflare Workers, and a deploy button is provided. If you use your own API key, you need to fork the repository, add GATSBY_FLOTIQ_API as a GitHub secret, then run the "Deploy Cloudflare Worker" workflow manually.
