Fullstack GraphQL

Roy Derks

Language: English

Description:

Fullstack GraphQL is the busy engineer's guide to building real-world GraphQL servers and clients with examples in Node.js, React, TypeScript, and Apollo. The structure of this book is loosely inspired by the workflow of a Fullstack Engineer and we reveal GraphQL-specific concepts through the life-cycle of a real-world app within the book's 10 chapters.

In the first part of the book, we talk about GraphQL Clients in a variety of settings: how to setup a “hello-world” application with Node, in the browser, and in a React app with Apollo.

We then dive into building a bigger React app where we generate TypeScript types from our GraphQL queries. Then we talk about real-world performance issues, strategies for fetching data, and ways to make changes with mutations (that results in super-fast end-user performance).

In the second part of the book, we talk about GraphQL Servers. GraphQL clients are an absolute joy to use – but only because the “pain” was dealt with by a backend engineer to build the server. GraphQL Servers are the hard part of GraphQL! But after reading these chapters you’ll make it look easy.

We talk about a ton of details that aren’t usually covered together like: how to manage authentication to protect fields, how to deal with batching queries and use dataloader, how to connect TypeORM to auto-generate a GraphQL server, how to calculate query costs for performance considerations a ton more.