Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Gatsby starter boilerplate integrated with Flotiq as a headless CMS, offering a fast setup for React applications with Tailwind CSS and Flotiq components.
This Gatsby starter boilerplate provides a robust foundation for building blazing-fast React applications powered by Gatsby and Flotiq, a headless CMS. It's designed to help developers kickstart their projects quickly, offering a pre-configured environment with essential tools and libraries.
Key Features:
gatsby-source-flotiq plugin, ensuring smooth data fetching from your Flotiq account into your Gatsby application's GraphQL layer.Use Cases: This boilerplate is ideal for developers looking to build:
Quick Start Guide:
Start the project from template using Flotiq CLI:
npm install -g flotiq-cli
flotiq start [projectName] https://github.com/flotiq/gatsby-starter-boilerplate.git [flotiqApiKey]flotiqApKey: Read and write API key to your Flotiq account.projectName: Project name or project path (use . for the current directory).Alternatively, start with Gatsby CLI:
gatsby new gatsby-starter-boilerplate https://github.com/flotiq/gatsby-starter-boilerplate.gitConfigure application:
Create a .env.development file in the root directory with:
GATSBY_FLOTIQ_API_KEY=YOUR FLOTIQ API KEY
GA_MEASUREMENT_ID=YOUR MEASUREMENT ID
Start developing: Navigate into your new site’s directory and run:
cd gatsby-starter-boilerplate/
gatsby develop(Optional) To import example data:
flotiq import .flotiq [flotiqApiKey]Your site will be running at http://localhost:8000.
Deployment Options: The boilerplate offers straightforward deployment to popular platforms:
Project Structure (What's inside?): The project includes a well-organized directory structure:
.flotiq: Contains content types necessary for the starter..github: GitHub issues templates.node_modules: Project dependencies.src: Front-end code.
assets: Static assets (images, favicons, fonts).pages: Static pages.style: Global styles..eslintignore, .eslintrc.js: ESLint configuration for consistent code formatting..gitignore: Specifies files to be ignored by Git..prettierignore, .prettierrc: Prettier configuration for code formatting.app.json: Heroku deployment configuration.gatsby-browser.js: Gatsby browser APIs customization.gatsby-config.js: Main Gatsby configuration (metadata, plugins).gatsby-node.js: Gatsby Node APIs for build process customizati...