Skip to content

vtex-apps/yourviews-graphql

Repository files navigation

YourViews GraphQL resolvers

All Contributors

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

{
  "yourviewsToken": "<token>",
  "appId": "<appId>"
}

Example curl:

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

To grab your vtex token, run on the terminal:

vtex local token

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jo Santana

💻

This project follows the all-contributors specification. Contributions of any kind welcome!