Desktop app for sandboxing GraphQL-like calls and responses to RESTful API endpoints
Airbnb, Audi, CNBC, and Expedia are among the engineering teams Apollo touts as adopting its technology.
GraphQL is lauded for its speed and declarative querying; unlike REST APIs, a GraphQL query returns exactly what the client requests to a single endpoint, boosting performance for clients with poor internet connections or less powerful devices.
But to implement the querying language, an API overhaul is necessary to appropriately serve GraphQL requests. To test queries, developers have to spin up a quick application or write a GraphQL back end.
Existing playgrounds are useful but they might not have meaningful data or errors for developers. And while GraphQL is very powerful, errors are not descriptive, even with the Apollo Client layer.
That’s where Hypnos comes in.
Hypnos is an endpoint tester, utilizing Apollo’s link-rest package to make GraphQL-structured queries to authenticated or non-authenticated RESTful APIs.
When a proper query is made, a response object is rendered on the screen with the fields specified by the client.