5 ms·
The fastest way to get started with GraphQL
- cavsfan 10y agoSounds like GraphQL is undoubtedly making headway with the help of the community and services sprouting around it.
- vning93 10y agoCertainly. There tends to be quite a few posts about GraphQL on tech blogs these days, and a primary reason for this post is to drive the point home that although it's new, it's not hard to use, especially with the help of major tooling like Apollo Client and Relay.
- seanpcheng 10y agoGreat article Vincent and Michael! The progress you guys have made so far is incredible. Keep up the good work!
- roko1968 10y agoWhat sort of transition-related problems could arise when making the switch from REST to GraphQL?
- vning93 10y agoThere's two ways you can do this cleanly. One is to start from scratch and create a GraphQL server that directly hits your data source(s) by replacing the REST component of it. The other is to create a GraphQL schema that serves as a gateway to your REST app. In both solutions, you'll be creating GraphQL types for your input and return types, and re-writing your calls on your client apps to conform to GraphQL. However, the long-term benefit of this is that you can write your queries once, and run them anywhere on any client app platform.
- jla24 10y agoVery detailed guide. Thanks guys! Exciting progress.
- pencildiver 10y agoAwesome stuff! Could you link me to an existing app that is using Scaphold? Would be awesome to see something up and running
- vning93 10y agoWe're currently not aware of any live production sites up and running right now from our users. However, we do have an open Github repo (https://github.com/scaphold-io https://github.com/scaphold-io) with production-ready boilerplates for React and React Native with Relay. Within the week, we'll release more that use client frameworks like AngularJS and React with Apollo Client. To provide examples of what we've seen so far, we've seen block chain models, chat bot apps, and music apps hosted on Scaphold to give you an idea of how complex they can get.
- pencildiver 10y agoCool, thanks for the github repo. I think the key here is to get developer's imagination going and walk them through where scaphold fits into that :)
- vning93 10y agoNo problem - I completely agree. And thanks for the feedback!
- jakerose27 10y agoThis was a very helpful, informative guide. I love the fact that your service has such a low barrier of entry - you'll get a lot of apps hooked on what you do. I'm excited to see where you all take this!
- sl7ey 10y agowow this is phenomenal