An open API service indexing awesome lists of open source software.

https://github.com/snipcart/snipcart-gatsby-grav

Grav as Headless CMS Tied to Gatsby with GraphQL Schema
https://github.com/snipcart/snipcart-gatsby-grav

ecommerce gatsby graphql grav jamstack

Last synced: 2 months ago
JSON representation

Grav as Headless CMS Tied to Gatsby with GraphQL Schema

Awesome Lists containing this project

README

        

# Grav as Headless CMS Tied to Gatsby with GraphQL Schema

![Gastby](https://snipcart.com/media/204100/grav-headless.png)

This repo contains the code for a demo Gatsby website, it uses Snipcart for e-commerce and gets the product information from a Grav headless setup.

Steps:

- Set up Grav CMS as a headless CMS.
- Install React-powered static site generator Gatsby.
- Create a source plugin to query the API with GraphQL.
- The result? A small demo shop powered by Snipcart.

> [Read full tutorial](https://snipcart.com/blog/react-graphql-grav-cms-headless-tutorial)

> [See live demo](https://snipcart-gatsby-grav.netlify.com/)

Enjoy folks!