This project is an example of a backend for a site with users follwing each other. You can see how Neo4j can be used with a minimal wrapper around it's HTTP API and how you can use ES6 Promises for writing and testing completely callbackless code.
Important to note is that express routes are not setup. The files that are interesting to look at are the database connectors,the models and the stores.
Stack used is:
- Node.js 0.12
- Bluebird Promises
- Neo4j (without any package just the request http node client for interfacing with the Rest API)
- Mocha testing framework
- Chai-as-promised
- Babel transpiler
Running it:
- download and run the no4j community edition server.
- paste ext/dbSchema constrains into the neo4j web interface command line
- clone this repo
- edit config/default.json
- npm install
- npm test test/*
For more info you can check this blog post.