GithubHelp home page GithubHelp logo

neo_graph_search's Introduction

neo_graph_search

A POC at replicating Facebook Graph Search with Cypher and Neo4j

Pre-Requisites

  • You will need to get a Facebook Consumer Key and Secret on https://developers.facebook.com/apps
  • Select the "user_likes", "user_location", "friend_likes", "friend_location" permissions.
  • You will need Neo4j in order for your database.
  • You will need Redis in order to use Sidekiq for background jobs.

Installation

git clone [email protected]:maxdemarzi/neo_graph_search.git
bundle install
sudo apt-get install redis-server or brew install redis or install redis manually
rake neo4j:install['enterprise','1.9.M04']
rake neo4j:start
rake neo4j:create
export SESSION_SECRET=<your session secret>
export FACEBOOK_APP_ID=<your facebook app id>
export FACEBOOK_SECRET=<your facebook secret>
export REDISTOGO_URL="redis://127.0.0.1:6379/"
foreman start

On Heroku

git clone [email protected]:maxdemarzi/neosocial.git
heroku apps:create neosocial
heroku config:add SESSION_SECRET=<your session secret>
heroku config:add FACEBOOK_APP_ID=<your facebook app id>
heroku config:add FACEBOOK_SECRET=<your facebook secret>
heroku addons:add neo4j
heroku addons:add redistogo
git push heroku master
heroku ps:scale worker=1
heroku run rake neo4j:create

See it running live at http://neographsearch.heroku.com

neo_graph_search's People

Contributors

maxdemarzi avatar

Watchers

Jon Baer avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.