Welcome to Manning India!

We are pleased to be able to offer regional eBook pricing for Indian residents.
All eBook prices are discounted 40% or more!
Fullstack GraphQL Applications with GRANDstack
William Lyon
  • MEAP began October 2019
  • Publication in Summer 2020 (estimated)
  • ISBN 9781617297038
  • 300 pages (estimated)
  • printed in black & white
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.
Table of Contents detailed table of contents

Part 1: Getting Started With Fullstack GraphQL

1 What’s The GRANDstack?

1.1 GraphQL

1.1.1 GraphQL Type Definitions

1.1.2 Querying With GraphQL

1.1.3 Advantages of GraphQL

1.1.4 Disadvantages of GraphQL

1.1.5 GraphQL Tooling

1.2 React

1.2.1 React Components

1.2.2 JSX

1.2.3 React Tooling

1.3 Apollo

1.3.1 Apollo Server

1.3.2 Apollo Client

1.4 Neo4j Database

1.4.1 Property Graph Data Model

1.4.2 Cypher Query Language

1.4.3 Neo4j Tooling

1.5 How It All Fits Together

1.5.1 React And Apollo Client - Making The Request

1.5.2 Apollo Server And GraphQL Backend

1.5.3 React And Apollo Client - Handling The Response

1.6 What We Will Build

1.7 Exercises

1.8 Summary

2 Graph Thinking With GraphQL

2.1 Your Application Data Is A Graph

2.2 Graphs In GraphQL

2.2.1 API Modeling With Type Definitions: GraphQL First Development

2.2.2 Resolving Data With Resolvers

2.2.3 Our First Resolver

2.3 Combining Type Definitions and Resolvers With Apollo Server

2.3.1 Using Apollo Server

2.3.2 GraphQL Playground

2.3.3 Implementing Resolvers

2.3.4 Querying Using GraphQL Playground

2.4 Exercises

2.5 Graph Thinking With GraphQL Summary

3 Graphs In The Database

3.1 Neo4j Overview

3.2 Graph Data Modeling With Neo4j

3.2.1 The Property Graph Model

3.2.2 Database Constraints And Indexes

3.3 Data Modeling Considerations

3.3.1 Node vs. property

3.3.2 Node vs. relationship

3.3.3 Indexes

3.3.4 Specificity of relationship types

3.3.5 Choosing a relationship direction

3.4 Tooling: Neo4j Desktop

3.5 Tooling: Neo4j Browser

3.6 Cypher

3.6.1 Pattern matching

3.6.2 Properties

3.6.3 CREATE

3.6.4 MERGE

3.6.5 Defining Database Constraints With Cypher

3.6.6 MATCH

3.6.7 Aggregations

3.7 Using The Client Drivers

3.8 Exercises

3.9 Summary

4 GraphQL engines

Part 2: Building The Front End

5 Building user interfaces with React

6 Connecting our React app to our API

Part 3: Full Stack Considerations

7 Adding authorization

8 Deploying our application

9 Advanced GraphQL

Appendixes

Appendix A: Installation instructions

Appendix B: GRANDstack starter project

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 full stack application 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 front end application using React and Apollo Client

About the reader

Aimed at developers comfortable building web applications using tools like Django, Rails, or MEAN stack and standard SQL-based databases. No experience with GraphQL or graph databases required.

About the author

William Lyon is a software developer at Neo4j, working on integrations with other technologies and helping users build applications with Neo4j. He is the creator and maintainer of neo4j-graphql.js, a JavaScript library for creating GraphQL APIs, and is a contributor to GRANDstack.io. He serves as Neo4j’s representative on the GraphQL Foundation.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $49.99 pBook + eBook + liveBook
MEAP eBook $39.99 pdf + ePub + kindle + liveBook
Prices displayed in rupees will be charged in USD when you check out.

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks