Publisher's Synopsis
GraphQL radically improves the efficiency of web APIs, reducing the number of requests and the volume of data in-transit within your web applications. You can amplify the benefits of GraphQL by adjusting your stack to match GraphQL's more natural representation of your data as a graph. In Fullstack GraphQL Applications with GRANDstack you'll learn to build graph-aware end-to-end web applications using GraphQL, React, Apollo, and the Neo4j graph database.
about the technology
Over-fetching or under-fetching data from REST APIs makes your applications slow and unreliable, especially over weak mobile network connections. The GraphQL query language offers a solution with a new API paradigm, reducing loads by constructing precise graph-based data requests. By adapting your application's design and data store to leverage graphs throughout the stack, you decrease friction by using a consistent data model improving developer productivity, performance and maintainability. The combination of GraphQL, React, Apollo, and Neo4j Database, aka "the GRANDstack," provides an easily adoptable end-to-end solution perfect for building fullstack GraphQL applications.about the book
Fullstack GraphQL Applications with GRANDstack teaches you to leverage the power of GraphQL to create modern APIs that streamline data loads by allowing client applications to selectively fetch only the data required. GRANDstack.io contributor and GraphQL Foundation member William Lyon teaches you everything you need to know to design, deploy, and maintain a GraphQL API from scratch and create graph-aware fullstack web applications. In this project-driven book, you'll build a complete business reviews application using the cutting-edge GRANDstack, learning how the different parts fit together. Chapter-by-chapter, you'll master creating a GraphQL service with Apollo Server, modelling a GraphQL API with GraphQL type definitions, installing the Neo4j Database on different platforms, and more. By the time you're done, you'll be able to deploy all of the components of a serverless fullstack application in a secure and cost-effective way that takes full advantage of GraphQL's performance capabilities. Along the way, you'll also get tips for applying these techniques to other stacks.what's inside
- Building the backend functionality of a GraphQL application
- Handling authentication and authorization with GraphQL
- Implementing pagination and rate limiting in a GraphQL API
- Create a basic frontend application using React and Apollo Client