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.

Graphql-Up: CLI to create a ready-to-use GraphQL API

168 pointsby schicklingabout 8 years ago

12 comments

pimlottcabout 8 years ago
This sounds interesting but as someone outside this community, I would appreciate a little more background information. I have no idea what exactly the GraphQL API lets you do, what Apollo or Relay are, or even what language this is all in (guessing Javascript from the npm mention). Just linking some of these project names would be helpful, and some high-level motivation would be nice, like "GraphQL lets you make awesome interactive charts like this" or something.
评论 #13874343 未加载
评论 #13874461 未加载
leebyronabout 8 years ago
Awesome way to leverage the schema definition files to set up a super fast server. I see this being really useful for quick prototyping or for hackathons.
评论 #13873048 未加载
评论 #13870641 未加载
lkrubnerabout 8 years ago
While this is good, I&#x27;m astonished that this took so long, especially compared to Ruby On Rails. GraphQL was introduced 2 years ago, in the spring of 2015. And it&#x27;s taken this long to get a CLI tool that can auto-generate some of the schema&#x2F;setup?<p>These last 2 years, a lot of my clients have been asking me, &quot;Should we switch to React&#x2F;GraphQL?&quot; And I&#x27;ve done one big project with GraphQL, in the spring of 2016. And I was amazed at how much I had to hand code, especially compared to Ruby On Rails.<p>In 2004, Ruby On Rails was born with these kinds of CLI tools. Indeed, Ruby On Rails pretty much established our modern ideas of how much a framework should do for us.<p>A CLI for GraphQL certainly makes the React eco-system more competitive with Ruby On Rails, but I am astonished that it took this long.<p>(PS: I am aware that React and Ruby On Rails are not strictly competitors, since you can use them together to create software&#x2F;website. Nevertheless, &quot;Should we use Ruby On Rails or React?&quot; is a real question that I&#x27;ve been asked several times over the last few years.)
评论 #13874999 未加载
评论 #13873188 未加载
Exumaabout 8 years ago
I looked at GraphQL..... can someone please explain how extensive join queries are done?<p>Literally almost every app I ever write, even the simple ones, offload tons of work to the database for joins between a half dozen tables.<p>I have yet to see a sane answer on how this is possible with GraphQL? How am I supposed to think about performance ... and not just having something overly simple&#x2F;basic like HERES MAH BLOG... HERES DA COMMENTS!!!!!!
评论 #13873061 未加载
评论 #13874580 未加载
评论 #13873970 未加载
评论 #13873149 未加载
simlevesqueabout 8 years ago
Feels so good to see a demo using fish as the shell.
djmashko2about 8 years ago
I think this will be a really awesome way for people to get a taste of GraphQL, without needing to write any code up front!<p>There are already some other tools that will give you a GraphQL API in very little code, but the fact that this one is hosted means you can host a frontend on GitHub pages or something, send it to your friends, and have a basic app going.
评论 #13871385 未加载
Raed667about 8 years ago
I&#x27;m new to GraphQL and I have been trying to get my friends as excited about it as I&#x27;m, the problem has always been the amount of code that they have to up-front before seeing any results, this might change that.<p>Definitively bookmarked!
评论 #13874740 未加载
barrystaesabout 8 years ago
The pricing LOL.. one of these is wrong, if not both.<p>its $45 for 2GB + 10m requests, and $449 for 10GB + 50m requests. (more expensive per GB or requests..)
评论 #13878056 未加载
faceyspaceyabout 8 years ago
Damn, between this and sketch + create react native app, it&#x27;s the week of 1-step-apps.<p>Is there an easy way to eject into a full blown graph.cool app? It seems you can&#x27;t take any of your schema and use it as a starting point in graph.cool. From a business perspective, wouldn&#x27;t that be the point? Perhaps I&#x27;m missing something though.
评论 #13870978 未加载
ggregoireabout 8 years ago
So the only way to mock the data is to have mutations in your schema and to post the data with these mutations?<p>Btw cool idea! :)
评论 #13871136 未加载
评论 #13871601 未加载
ConAntonakosabout 8 years ago
Is there a way to convert SQL schema to the GraphQL IDL notation?
magickbirdyabout 8 years ago
I&#x27;ve always wanted IDL -&gt; stub implementation for graphql... just like FB did with thrift