ionic2-graphql-apollo-client icon indicating copy to clipboard operation
ionic2-graphql-apollo-client copied to clipboard

a sample application integrating Ionic2 with GraphQL using the Apollo Client for Angular2

UPDATE - Ionic4 GraphQL Sample Application

Starting to update this project here: https://github.com/aaronksaunders/ionic4-angular6-gql/tree/master

Ionic2 GraphQL Sample Application

This is a starter project for Ionic 2 with GraphQL

Screenshot of App

This sample application integrating Ionic2 with GraphQL using the Apollo Client for Angular2

GraphQL Server

I am hosting the server on Glitch here - aks-graphql-sample1

glitch server screenshot

Because of CORS issues, I needed to make a modification to my graphQL server to work properly. See the fix here

Apollo Client

  • Application shows basic user queries and mutations
  • Controlling the store and UI using updateQueries as a more efficient way to update the user interface without requerying the data