The default Gatsby starter
For an overview of the project structure please refer to the Gatsby documentation - Building with Components
Install this starter (assuming Gatsby is installed) by running from your CLI:
gatsby new gatsby-example-site
For local development with Contentful, create a .env
file in the root directory, and add the following properties:
CONTENTFUL_SPACEID=[INSERT SPACE ID HERE]
CONTENTFUL_ACCESSTOKEN=[INSERT ACCESS TOKEN HERE]