A GraphQL wrapper for the GlassFrog API
We’re making it easier to query the GlassFrog API using GraphQL!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install or have installed
Node 6.9.0 or higher, together with NPM 3 or higher.
Clone the GraphQlWrapperGlassFrog repository and navigate into the directory
git clone https://github.com/speedgoofy/GraphQLWrapperGlassFrog.git
cd GraphQlWrapperGlassFrog
Install Dependencies
npm install
Add your GlassFrog Api key
- Navigate to https://app.glassfrog.com/api_keys and create a new Api key ( Name the key anything you like )
- Open the GraphQlWrapperGlassFrog in your editor
- In the "data-loaders" folder, add a new file "ApiKey.js"
- Export your ApiKey
export const ApiKey = 'yourApiKey';
Start the server and Navigate to the GraphQl endpoint:
npm start
http://localhost:8080/graphql
Get the all the circles in you organization with the people in those circles
query{
circles {
id
name
people {
name
}
}
}
Learn more about GraphQL at --> http://graphql.org/