TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Curl for GraphQL with autocomplete, subscriptions and GraphiQL

246 pointsby wawhalalmost 7 years ago

7 comments

nojvekalmost 7 years ago
To be honest, I find graphql syntax really weird. What you get back is json, why not make the query language json itself? So all the existing json processing tools on the frontend just work.<p>With the weird syntax, now you need a parser and checker, and you need to write some boilerplate for doing mutation syntax.<p>There’s a reason why everyone and their dog invented ORMs. So you could live in an object world and everything would just work. SQL translation magic would be just an abstraction.<p>GraphQl has some nice things, I.e you only fetch what you need, and the fact that that it exposes a service as a graph. However I’m not sold that it’s a big improvement over simple REST.
评论 #17733206 未加载
评论 #17732854 未加载
评论 #17733054 未加载
评论 #17735211 未加载
评论 #17733354 未加载
评论 #17732840 未加载
tango12almost 7 years ago
Hi HN. We built this when we realised we needed a few nifty bash scripts that need to talk to a GraphQL endpoint, especially piping subscription events to run a bash command.<p>We also use it as a node library from some lambda functions and then while we were at it, we realised a GraphiQL on demand to test a GraphQL endpoint would be nice too :)
评论 #17732268 未加载
评论 #17734445 未加载
peterjmagalmost 7 years ago
This is awesome! I particularly like being able to spin up a local instance of GraphiQL against any endpoint (with auth headers and everything). I tried it with GitHub&#x27;s GraphQL API, and it took me less than a minute to get going.
danr4almost 7 years ago
that Hasura company has really been cranking up dev tools lately. Seems there are some serious brains behind the company. I hope you&#x27;ll find the equivalent business people to keep you going.
brian_hermanalmost 7 years ago
Man I wish I worked on an application that needed graphql :....
评论 #17734627 未加载
homeroalmost 7 years ago
I&#x27;m interested in trying it with yelp <a href="https:&#x2F;&#x2F;www.yelp.com&#x2F;developers&#x2F;graphql&#x2F;guides&#x2F;intro" rel="nofollow">https:&#x2F;&#x2F;www.yelp.com&#x2F;developers&#x2F;graphql&#x2F;guides&#x2F;intro</a>
评论 #17732358 未加载
jaequeryalmost 7 years ago
CLI looks neat, but these apps really require things like saved queries to be really useful. I&#x27;m pretty happy with using Insomnia app for Graphql &#x2F; REST so far.