Skip to content

Latest commit

 

History

History
175 lines (111 loc) · 4.1 KB

README.md

File metadata and controls

175 lines (111 loc) · 4.1 KB

US-500-Graph Reference Application

This application is an implementation of the exercises prescribed by the WayBlazer Neo4j Candidate Interview.

alt tag

The dataset used is provided here.

Build

To build the library from source, clone the project from github

[email protected]:jclosure/us-500-graph.git

The source code uses the module style of node (require and module.exports) to organize dependencies. To install all dependencies and build the library, run npm install in the root of the project.

cd us-500-graph
npm install
npm run setup

Usage

Prereqs

Install Neo4j

Example:

brew install neo4j

Setup Neo4j

The examples below are shown using the following credentials for Neo4j

username: neo4j password: admin

Make sure you've logged into your Neo4j server and set your user/pass.

http://localhost:7474

Running the app

In your shell set the NEO4J_URL variable appropriately for your system.

Linux/MacOS:

export NEO4J_URL=http://neo4j:admin@localhost:7474

Windows:

set NEO4J_URL=http://neo4j:admin@localhost:7474

Run the app:

node app.js

Navigate to:

http://localhost:3000

Testing

To test the library, install the project dependencies once:

npm install

Make sure you set the NEO4J_URL env var before running the tests. If you do not, no tests will run.

Then run the tests with:

npm test

You can develop with live testing with grunt-watch by running:

grunt watch

Reference Documentation

####neo4j

####node-neo4j

####jade

####emacs jade-mode

####superagent

####network

####alchemy

####vis

####sigmajs

####popoto

####browserfy

####online-regex tester

WindowBase64.btoa()

####node-inspector

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Credits

Joel Holder (for developing the app)

Ricky Stillwell (for the problems)

RMS (for emacs) in which this app was lovingly made.

License

US-500-Graph is licensed under