TL;DR: With a Reaction App running using
docker-compose, open the Local Storage panel in your browser dev tools and copy the value ofMeteor.loginTokeninto theHeader valuefield.
- Follow the instructions to install the GraphiQL app.
- Launch the app
- Click the button labeled
Edit HTTP Headers - Click
+ Add Header - For
Header nameentermeteor-login-token - For
Header valueyou'll need yourMeteor.loginTokenfrom the Getting Started guide. - Make your first query by setting GraphQL Endpoint to http://localhost:3030/graphql-beta and querying for the viewer's name:
{
viewer {
name
}
}
For more on your getting started with GraphQL and Reaction: https://docs.reactioncommerce.com/reaction-docs/master/graphql-intro