hygraph / gatsby-starter-hygraph-blog

Gatsby starter for creating a basic blog with Hygraph

Home Page:https://blog.withheadlesscms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatsby-starter-hygraph-blog

A Gatsby starter for creating a basic blog with Hygraph

Demogatsby-source-graphcms

Clone project Deploy with Vercel

Quick start

  1. Create a new Gatsby project via the Gatsby CLI
gatsby new hygraph-blog https://github.com/Hygraph/gatsby-starter-hygraph-blog
  1. Provide your Hygraph project keys

In order to use this starter, you'll need to have created a new Hygraph project using our Blog Template.

Navigate into your new site’s directory and copy the .env.sample file.

cd hygraph-blog
cp .env.sample .env

Inside of your newly created .env file, provide values for each variable. These variables can be found in the project settings UI.

HYGRAPH_ENDPOINT=""
HYGRAPH_TOKEN=""
  1. Start building!

Install the dependencies and start the gatsby dev server:

yarn
yarn dev

Features

About

Gatsby starter for creating a basic blog with Hygraph

https://blog.withheadlesscms.com

License:BSD Zero Clause License


Languages

Language:JavaScript 99.8%Language:CSS 0.2%