Last active
October 15, 2018 14:22
-
-
Save Njuelle/ecd641a2aae9fe62d365d49e8d15e2c8 to your computer and use it in GitHub Desktop.
snippet example
This file contains hidden or 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
| //Connects to Kuzzle | |
| kuzzle | |
| .connect() | |
| .then(() => { | |
| console.log('Successfully connected'); | |
| }) | |
| .catch(error => { | |
| console.error(error.message); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment