This is a simple Rest full Api to interact with neo4j database and query opencare users, posts and comments
####1. change config file
cp config.example.ini config.ini
nano config.ini
Neo4j 3.2 database need the following graphAware plugins:
- graphaware-timetree-3.2.1.51.27.jar
- graphaware-server-community-all-3.2.1.51.jar If you launch neo4j in a container name it with an alias
[neo4j]
url = myNeo4j
user = user
password = pass
####2. install requirements
pip install -r requirements.txt
####3. launch api server
python app.py
####2. build
docker build -t graph-ryder-api .
####3. run
docker run -d -p 5000:5000 --name my-graph-ryder-api graph-ryder-api
If you launch neo4j in a container you have to link it with '--link' option
--link neo4jContainerName:myNeo4j
- install apidoc
npm install apidoc -g
- generate the doc
apidoc -i ./routes/ -o ./routes/apidoc/