Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxdemarzi/neo_graph_search
A POC at replicating Facebook Graph Search with Cypher and Neo4j
https://github.com/maxdemarzi/neo_graph_search
Last synced: 5 days ago
JSON representation
A POC at replicating Facebook Graph Search with Cypher and Neo4j
- Host: GitHub
- URL: https://github.com/maxdemarzi/neo_graph_search
- Owner: maxdemarzi
- License: mit
- Created: 2013-01-25T15:33:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-15T23:26:57.000Z (about 11 years ago)
- Last Synced: 2024-11-02T01:50:26.555Z (12 days ago)
- Language: JavaScript
- Size: 406 KB
- Stars: 102
- Watchers: 14
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
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", "friends_likes", "friends_location" permissions.
* Under "Select how your app integrates with Facebook" click "Website with Facebook Login" and fill in "http://localhost:5000/"
* 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 (run gem install bundler if you don't have bundler installed)
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= (anything will do, or skip it)
export FACEBOOK_APP_ID=
export FACEBOOK_SECRET=
export REDISTOGO_URL="redis://127.0.0.1:6379/"
foreman startOn Heroku
---------git clone [email protected]:maxdemarzi/neosocial.git
heroku apps:create neosocial
heroku config:add SESSION_SECRET=
heroku config:add FACEBOOK_APP_ID=
heroku config:add FACEBOOK_SECRET=
heroku addons:add neo4j
heroku addons:add redistogo
git push heroku master
heroku ps:scale worker=1
heroku run rake neo4j:createSee it running live at http://neographsearch.maxdemarzi.com/