Skip to content

Instantly share code, notes, and snippets.

@mattecapu
Last active January 11, 2017 10:08
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 mattecapu/956a8bba59c9c69ba5b4c89e7e7ba812 to your computer and use it in GitHub Desktop.
Save mattecapu/956a8bba59c9c69ba5b4c89e7e7ba812 to your computer and use it in GitHub Desktop.
import { Lokka } from 'lokka';
import { Transport } from 'lokka-transport-http';
import { SERVER_URL } from '../config';
/* singleton Lokka client */
export default new Lokka({
transport: new Transport(`${SERVER_URL}/graphql`)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment