Beginning GraphQL: Fetch Data Faster and More Efficiently Whilst Improving the Overall Performance of Your Web Application

Brian Kimokoti

Language: English

Publisher: Packt Publishing

Published: Jul 26, 2018

Description:

Over-fetching and under-fetching data can negatively impact the performance of your web application. Future-proof your API structure and handle key development requirements by correctly defining types and schemas in GraphQL. Key Features Includes server-side implementations using GraphQL.js, Apollo, Graphcool, and Prisma Understand an example client-side implementation of GraphQL in ReactJS using Apollo Implement over 20 practical activities and exercises across 5 topics that enable you to efficiently use GraphQL in production Book Description Though fairly new, GraphQL is quickly rising in popularity when it comes to API development. This book will teach you everything you need to know to start building efficient APIs with GraphQL. You'll begin by learning to create a simple scaffold application using Node.js and Express. Then, you'll explore core GraphQL concepts and study how GraphQL integrates with other frameworks in real-life business applications. By the end of the book, you will be able to successfully create efficient client-server REST-like applications. What you will learn Understand core GraphQL concepts that can be used across different languages Understand the overall structure of GraphQL applications Use Apollo GraphQL for both server and client JavaScript applications Understand the key differences between GraphQL and REST Who this book is for This book is ideal for developers who want to broaden their understanding of API development. Prior experience to JavaScript is required, with any prior work with React or Node.js being beneficial.