Skip to content

arisAlexis/neo4j-social-backend-es6-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. Node.js 0.12
  2. Bluebird Promises
  3. Neo4j (without any package just the request http node client for interfacing with the Rest API)
  4. Mocha testing framework
  5. Chai-as-promised
  6. Babel transpiler

Running it:

  1. download and run the no4j community edition server.
  2. paste ext/dbSchema constrains into the neo4j web interface command line
  3. clone this repo
  4. edit config/default.json
  5. npm install
  6. npm test test/*

For more info you can check this blog post.

About

Sample project using Neo4j and latest es6 features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages