Starter repository for a Gatsby site communicating with a GraphQL backend. This project uses Apollo Client to request and cache your data, as well as update your UI.
DEMO:
Netlify: https://cranky-elion-d06f2c.netlify.app/
-
Install the Gatsby CLI
npm install -g gatsby-cli
-
Create the project
gatsby new gatsby-starter https://github.com/toped/gatsby-apollo-starter
-
Change into the new directory
cd gatsby-starter
-
Install dependencies (if gatsby-cli has not already)
yarn # or npm i
-
Then you can run it by:
gatsby develop