TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

246 点作者 wawhal将近 7 年前

7 条评论

nojvek将近 7 年前
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 未加载
tango12将近 7 年前
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 未加载
peterjmag将近 7 年前
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.
danr4将近 7 年前
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_herman将近 7 年前
Man I wish I worked on an application that needed graphql :....
评论 #17734627 未加载
homero将近 7 年前
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 未加载
jaequery将近 7 年前
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.