Skip to content

Instantly share code, notes, and snippets.

@arunoda
Last active December 16, 2015 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arunoda/5565a6ddcc37a2c0c7dd to your computer and use it in GitHub Desktop.
Save arunoda/5565a6ddcc37a2c0c7dd to your computer and use it in GitHub Desktop.
var Lokka = require('lokka').Lokka;
var Transport = require('lokka-transport-http').Transport;
// Create a lokka client against SWAPI GraphQL API
var client = new Lokka({
transport: new Transport('http://graphql-swapi.parseapp.com/')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment