1,252 reads
1,252 reads

Here is the Fastest GraphQL Playground

December 4th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Firecamp's GraphQL playground launched 2 months ago and has been updated with new features. Playground is a query-writing area, where we can write any query and hit cmd+enter to execute it. To execute one query from the playground, just bring the cursor to the query area and hit the play button. That query will become an active query and get executed on the play-button click. To upload a file, just select files from the bottom section of the playground and use the $files variables in a query as variable. Save & Export GraphQL request is a tool for developers to boost their productivity.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Here is the Fastest GraphQL Playground
undefined HackerNoon profile picture

It's been 2 months of Firecamp's GraphQL playground launching, throughout this time I have been discussing with so many folks about their GraphQL usage and experience with Playground.

I am so privileged to have meaningful insights and have great feedback from the community, and based on that we implemented new features, changed DX and put a focus on accessibility. This week we have launched a new revamped version of GraphQL playground with all these following productive and time-saving features.

So, here is the list of weapons to stay prepared for the GraphQL war.

  1. Magical Playground
  2. Single/Multiple File upload
  3. Query collection (One-click save playground queries)
  4. Interactive Query Variables
  5. Query Documents
  6. Save & Export GraphQL request

Let me go through with all these goodies one by one.

1. Magical Playground

It's a query-writing area, where we can write any query and hit cmd+enter to execute it. The takeaway is we can write N number of queries.

To execute one query from the playground, just bring the cursor to the query area and hit the play button. That query will become an active query and get executed on the play-button click. means, to set any query as active query, just bring the cursor to its context area in a playground (set cursor in-between start and end line of per query)

2. Single/Multiple File upload

Uploading a file with GraphQL is a bit hurdle at this moment as it's not mature for file handling but the community is seriously trying to fill this gap.

Firecamp GraphQL playground supports file uploading with this community-driven specifications. To upload a file, just select files from the bottom section of the playground and use the $files variables in a query as variable. see this live-action from the below video.

3. Query collection (One-click save playground queries)

Query collection is the previously saved query's list, which helps us to avoid the repetition task of writing the query again and again. and also it 's sharable by exporting the GraphQL request configuration.

If the playground area having 2 queries and 3 mutations then to save them in a collection we just need to click on the Save to collection button. All the queries, mutations and subscriptions will get saved with their original name.

4. Interactive Query Variables

Variables vary with query by query. As shown in the below video, By changing the active query, the variable section will get reflect with new active query's variables.

We can edit those variables like JSON editor, JSON-like-form or Table form. just change the option from caret shown on the right side.

5. Query/Schema Documentation

As of now, Firecamp GraphQL playground is using a modified version of GraphiQL's query Document. It's pretty neat and clean. It shows the entire schema documentation of the GraphQL server implementation.

6. Save & Export GraphQL request

Firecamp GraphQL playground focuses on persistency. It's configurable, sharable, and storable for future usage and collaboration purpose.

Here we can add queries to the collection, and save the request within the project. Anytime later we can have single-click access to our saved GraphQL queries. and start executing in a matter of seconds.

Team collaboration feature is in private beta, Apply for Team Access

Thank you so much for reading this blog. Feel free to share anything you want that improves developer productivity.

Please follow on Twitter @FirecampHQ and I would be happy to connect for discussion @Nishchit14

Trending Topics

blockchaincryptocurrencyhackernoon-top-storyprogrammingsoftware-developmenttechnologystartuphackernoon-booksBitcoinbooks