wp-graphql
WPGraphQL Single Page App Tutorial

Updated 6 months ago

WPGraphQL Single Page App Tutorial

Goals of the tutorial

This tutorial will walk through building a basic Single Page App using React, Redux and the Apollo Client and interacting with consuming data from, and publishing data to a WPGraphQL WordPress server.

The goals of this tutorial are to look into the basics of Single Page App development and touch on features such as:

  • Basics of GraphQL Queries and Mutations
  • Basics of extending the WPGraphQL API using <?php ?>
  • Basics of Component Based Development with React
  • Basics of client-side routing with React Router
  • Basics of consuming data from WordPress with GraphQL using Apollo Client
  • Basics of mutating (writing) data to WordPress with GraphQL using Apollo Client