Created
March 19, 2012 17:25
-
-
Save coderoshi/2120186 to your computer and use it in GitHub Desktop.
Neo4j REST NodeJS CoffeeScript
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
neo4j = require('./caching_client').createClient | |
port: process.env.NEO4J_PORT | |
host: process.env.NEO4J_HOST | |
username : process.env.NEO4J_LOGIN | |
password : process.env.NEO4J_PASSWORD | |
neo4j.runCypher 'START x = node(0) RETURN x', (err, output, res)-> | |
if err | |
console.log err.message | |
else | |
console.log output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment