Skip to content

danpaulsmith/scdemo

 
 

Repository files navigation

Spatial Cypher Demo

This repo contains the node.js web app and the python scripts for importing data that power this demo

screenshot

The purpose of this demo project is to give an example of what could be accomplished using Neo4j Spatial Cypher, a prototype implemented as part of a Google Summer of Code Project.

For more information, see this wiki: https://github.com/johnymontana/neo4j/wiki/tutorial#demo-app-finding-businesses-by-category-within-a-polygon

Dependencies

  1. Neo4j
  2. Node.js and npm

Data

This project makes use of the Yelp! Academic dataset. The data is not distributed as part of this repository, but can be obtained here and should be saved into the data/ directory once obtained.

To load the data:

  1. python yelp_import.py
  2. python yelp_update_categories.py
  3. python yelp_post.py

See this README for more information.

Webapp

The webapp/scdemo directory contains the node.js web application for this project. Install node and npm first. Then:

  1. cd webapp/scdemo
  2. npm install
  3. ./bin/www -or- npm start

The map is powered by MapBox, please use your own API key.

Neo4j server extension

The backend is powered by a Neo4j Server extension available here.

About

Neo4j Spatial Cypher Demo - find businesses by category within a user defined polygon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.3%
  • Python 26.3%
  • JavaScript 19.3%
  • CSS 3.1%