Apollo GraphQL

Content Type: Module
Categories:

Overview

Mendix module that uses the Apollo GraphQL React library to make queries, mutations and subscriptions.

Documentation

FOR COMMUNITY-SUPPORTED CONTENT

Description

This module uses apollo client library to enable query, mutation and subscriptions.

 

If you do not have a backend server to test with, please follow the instructions below :

  1. Create a folder to clone the example github repository
  2. Run commands
    1. git clone https://github.com/mx-kshitij/mx-odyssey-ws.git
    2. cd server
    3. npm install
    4. npm start

This will start a local server at http://localhost:4000

So, your constant values are-

HttpURL - http://localhost:4000/graphql

WsURL - ws://localhost:4000/graphql

 

There are example nanoflows for usage in the module.

Typical usage scenario

Apollo client to make queries, mutations or subscriptions from Web or native.

Dependencies

Apollo libraries included in the module

 

Releases

Version: 1.0.0
Framework Version: 9.12.14
Release Notes: Version 1