Eve-Neo4j is a Neo4j data layer for eve REST framework.
- Neo4j's nodes CRUD.
$ pip install eve-neo4j
Set neo4j as your eve data layer.
import eve
from eve_neo4j import Neo4j
app = eve.Eve(data=Neo4j)
app.run()
Add the following to your settings.py
GRAPH_DATABASE = 'http://localhost:7474/db/data/'
GRAPH_USER = 'neo4j'
GRAPH_PASSWORD = 'neo4j'
# TODO: Override this as a default when using Neo4j as a data layer
ITEM_URL = 'regex("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}")'