Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sample application for the neo4j grails plugin

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 grails-app
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 web-app
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 application.properties
README.md

Neo4j for Grails sample application

This repository contains a ready-to-go application for using Neo4j as a GORM backend for a Grails application. Visit the grails-data-mapping for details.

hint for graphenedb

GrapheneDB provides cloud hosted Neo4j databases. To use the Neo4j grails plugin you need to:

  • set in grails-app/conf/DataSource.groovy: type = "rest"
  • set up environment variables, e.g. on Linux:

.

export NEO4J_HOST="<hostname provided by graphene>" # e.g. neo4jsample.sb01.stations.graphenedb.com"
export NEO4J_LOGIN="<username provided by graphene>"
export NEO4J_PASSWORD="<password provided by graphene>"
export NEO4J_PORT="<portnumber provided by graphene>"

WARNING: the 1.x series of the Neo4j Grails plugin do not rely on Cypher and therefore the performance with remote databases is known as been rather poor. This will be fixed in the 2.0 releases of the plugin.

Something went wrong with that request. Please try again.