Learning GraphQL and Relay

Key FeaturesTake your React applications to the next level with GraphQl and RelayMake your React applications speak to the back endExplore the concepts of data fetching, data handling, and moreBuild data-intensive applicationsLearn to deploy your applications, which are compliant with GraphQl and RelayBook DescriptionThe book begins by building a solid foundation in the GraphQl specification (defining and executing data queries, and creating data sources) and then swiftly moves to how a data layer can be implemented for your web application using Relay.For years, REST has been the de facto choice for implementing APIs and while REST is a great option, it’s not without its problems. Facebook solved many of these problems by developing the GraphQL specification and made it open source along with RelayJS, a React library for querying a server that implements the GraphQL specification. This book will take you from having no prior experience or just a familiarity with Relay and/or GraphQL to being able to build a production-ready application using both.One of the major challenges faced by React is data initialization, which is solved by GraphQl and Relay. While GraphQL is a data querying specification, Relay is the data fetching library that implements communicating with the GraphQl server to build data-intensive applications. We cover various concepts such as creating data containers, data masking, and more. Towards the end of the book, we will empower you to build a production-ready application.. You will also understand how you can deploy your GraphQl/Relay application on Heroku.By the end of the book, you'll have gained enough experience building an app with GraphQL and Relay to feel comfortable and to obtain mastery.What you will learnUnderstand what problem GraphQL solves and how it differs from traditional REST architecturesCreate a GraphQL serverDevelop modular and maintainable GraphQL codeGrasp how to define GraphQL mutationsComprehend how to define GraphQL queriesModify a GraphQL server to be Relay-compliantDevelop a Relay client-side application with ReactJS that consumes a GraphQL endpointAbout the AuthorSamer Buna is a software developer with years of practical experience in designing, implementing, and testing software for web and mobile applications. He loves coding in JavaScript and Ruby, and his favorite Frameworks include Rails, Node.js, Ember.js, React.js, and Relay.js. Samer is also a Pluralsight author and coding mentor, and has a Master's degree in Business Administration, and a Master's degree in Information Security.Samer blogs regularly on http://EdgeCoders.com, and you can find him on Twitter @samerbuna.

Author: Samer Buna

Learn more