Skip to content

GraphQL Resolvers for Chaordic APIs

Notifications You must be signed in to change notification settings

quality-digital/chaordic-graphql

 
 

Repository files navigation

Chaordic GraphQL resolvers

To add your Chaordic token you must create a file in VBase at the secret_keys bucket called keys.json with this format:

{
  "apiKey": "<apiKey>",
  "secretKey": "<token>"
}

Example curl:

curl --request PUT \
  --url 'http://vbase.aws-us-east-1.vtex.io/<account>/<workspace>/buckets/vtex.chaordic-graphql/secret_keys/files/keys.json' \
  --header 'authorization: <vtex token>' \
  --header 'content-type: application/json' \
  --data '{
  "apiKey": "<apiKey>",
  "secretKey": "<token>"
}'

To grab your vtex token, run on the terminal:

vtex local token

About

GraphQL Resolvers for Chaordic APIs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.0%
  • Shell 1.0%