Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gatsby starter for events using Flotiq headless CMS and Tailwind CSS.
The Flotiq Gatsby Event Starter is a Gatsby 5 boilerplate that produces a static event website, with content edited in the Flotiq headless CMS and styled using Tailwind CSS.
This is a starter project created by Flotiq, a headless CMS provider. It gives you a working Gatsby site for events. It takes content type definitions and example data from the .flotiq directory, plus your Flotiq API key, and outputs a static site. It requires Node.js version 18 or higher because it uses Gatsby 5. A live demo is deployed at https://flotiq-gatsby-event-1.netlify.app.
gatsby-source-flotiq connector.tailwind.config.js with no CSS framework lock-in.flotiq start clones the project, installs dependencies, sets .env variables, imports example data, and runs gatsby develop.app.json, netlify.toml, wrangler.toml, worker-index.js).flotiq import .flotiq [apiKey] adds four example objects to your Flotiq account.src/templates, src/sections, src/components, src/layouts, src/pages, and .flotiq content-type definitions included.localhost:8000/___graphql to experiment with querying Flotiq data before building templates.The quick start uses the Flotiq CLI. After installing flotiq-cli, you run flotiq start [projectName] https://github.com/flotiq/flotiq-gatsby-event-1.git [flotiqApiKey]. That command creates the project based on the template, installs npm dependencies, sets up .env variables, imports example data, and starts the development server at localhost:8000. Alternatively, you can clone the repo and run flotiq import .flotiq [apiKey] manually.
The starter is licensed under the MIT license, so you can use it freely. Flotiq's own pricing applies to the CMS service, which is not described in this README.
You need a Flotiq read and write API key. The flotiq start command takes it as an argument, and it's stored in GATSBY_FLOTIQ_API_KEY in your .env files. The import command also requires a read and write key.
Gatsby 5 requires Node.js version 18 or higher.
After changing content in the Flotiq editor, rerun gatsby develop in development or gatsby build for production. If you change Content Type Definitions, run gatsby clean. For automatic rebuilds, configure a Flotiq plugin on Gatsby Cloud or Netlify.
