Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Learning GraphQL and Relay
Learning GraphQL and Relay Credits About the Author Acknowledgments About the Reviewers www.PacktPub.com
Why subscribe? Free access for Packt account holders
Preface
What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support
Downloading the example code Downloading the color images of this book  Errata Piracy Questions
1. An Introduction to GraphQL and Relay
What is GraphQL? What is Relay? Why GraphQL?
RESTful APIs versus GraphQL APIs
Why Relay?
Understanding Relay's core principles
Storage and caching Object identification The connection model
Setting up a simple GraphQL server
Installing Node.js Defining the schema Using the schema
Rolling the dice Using field arguments
Setting up MongoDB Setting up an HTTP interface The GraphiQL editor
Summary
2. The Query Language
Documents and operations Fields Variables Directives Aliases Fragments Mutations Summary
3. The GraphQL Schema
The schema object Introspection The type system
Scalars and object types Interfaces and unions Type modifiers Enums
The resolve function
First argument – source Second argument – args Third argument – context Fourth argument – info Resolving with promises
Validation Versioning Summary
4. Configuring React Applications to Use Relay
The example GraphQL schema The quotes library Setting up Webpack Using GraphQL without Relay in React applications Relay containers Summary
5. Making GraphQL Queries Relay-Compliant
Transforming GraphQL queries for Relay Root-level field for the quotes library First query operation with Relay Relay's connection model Summary
6. Relay Variables and Object Identification
Implementing search
Adding a search feature to the GraphQL API Implementing the search feature in Relay
Adding a search form component Using Relay variables
Implementing likes
Relay's global ID The Node interface
Summary
7. Relay Mutations
Relay-compliant GraphQL mutations Relay.Mutation Optimistic updates Summary
8. Deploying to the Cloud
Preparing for deployment
Creating a GitHub repository Deploying locally
Deploying on EC2
Installing MongoDB Running the Node.js server
Deploying on Heroku
Cloud-hosted MongoDB
Summary
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion