Skip to content

bigcommerce-labs/catalyst-contentful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalyst + Contentful

This example integration features gql.tada multi-schema mode to allow for seamless typesafe GraphQL API calls to the Contentful GraphQL API.

Getting Started

  1. Clone repository and install dependencies
git clone git@github.com:bigcommerce-labs/catalyst-contentful.git && cd catalyst-contentful && pnpm i
  1. Copy environment variable template and enter values for each variable
cp .env.example .env.local
  1. Fetch the Contentful GraphQL schema using gql.tada CLI
source .env.local
pnpm exec gql.tada generate-schema "https://graphql.contentful.com/content/v1/spaces/${CONTENTFUL_SPACE_ID}" -o ./contentful.graphql --header "Authorization: Bearer ${CONTENTFUL_ACCESS_TOKEN}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages