Last active
January 11, 2017 10:08
-
-
Save mattecapu/956a8bba59c9c69ba5b4c89e7e7ba812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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