Bansky is a Neo4j database server, using spray-can to offer up a single Cypher endpoint.
- Requires sbt 0.11.1 to build.
Clone this repository, then run the application in one of the following ways.
-
Locally using sbt
$ sbt clean compile run -
Locally using foreman (simulates Heroku)
$ sbt clean compile stage ... $ foreman start
-
Interactively (producing human friendly results)
$ ./bin/cypher -
One-liners (also human friendly)
$ ./bin/cypher 'start n=node(*) return n' -
Redirect entire scripts (piped input produces json output)
$ ./bin/cypher < cql/all.cql -
% cat cql/all.cql | ./bin/cypher | jgrep [ { "n": { "id": 0 } }, { "n": { "id": 1, "name": "Andreas" } } ]