• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A POC at replicating Facebook Graph Search with Cypher and Neo4j

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=<your session secret> (anything will do, or skip it)
export FACEBOOK_APP_ID=<your facebook app id>
export FACEBOOK_SECRET=<your facebook app 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.maxdemarzi.com/

More Repositories

1

neography

A thin Ruby wrapper to the Neo4j Rest API
Ruby
602
star
2

neovigator

Demo visualization of Neo4j data
JavaScript
162
star
3

neoflix

JavaScript
44
star
4

graph_processing

Graph Processing Algorithms on top of Neo4j
Java
38
star
5

decision_trees_with_rules

POC Decision Tree traverser with rules
Java
38
star
6

d3_js_network

JavaScript
24
star
7

neosocial

Example application to connect to one of the social networks
JavaScript
23
star
8

neo_three

Ruby
22
star
9

madcodertv

Roku Channel for Development Videos
21
star
10

uranusdb

Uranus DB
Java
19
star
11

neo_crunch

Neo4j and the Crunchbase API mashup
JavaScript
19
star
12

d3_js_intro

JavaScript
19
star
13

neo_sigma

JavaScript
19
star
14

neo_visual_search

Neo4j POC to Integrate VisualSearch.js and Cypher
JavaScript
18
star
15

dating_site

Example Dating Site with Neo4j
Java
15
star
16

grittier_ext

A Neo4j Based Twitter Clone Backend
Java
15
star
17

neo_listens

Sample Event Listener / Triggers
Java
15
star
18

neoflights

Flight Search with Neo4j
Java
14
star
19

neo_news

A POC Neo4j Application about the News
Ruby
13
star
20

cypher_batch_writer

Let's try batching some cypher queries
Java
11
star
21

neo_permissions

Permission Resolution with Neo4j
Java
11
star
22

hive_plot

JavaScript
11
star
23

rule_matcher

Rule Matcher Stored Procedures
Java
11
star
24

neochat

Proof of Concept Chatbot
Java
10
star
25

neo_love

A POC Dating site with Neo4j
CSS
10
star
26

neo_concept

Import for Concept Net 5
Ruby
10
star
27

power_grid

Multi-Thread a Traversal to find the energization status of a power grid
Java
9
star
28

neo_airlines

Modeling and Querying Flight Data
Java
9
star
29

neo_pay

Online Payments Risk Management with Neo4j POC
Java
9
star
30

neomatch

A sample application matching jobs with candidates
CSS
9
star
31

BatchWriterService

A POC Batch Writer Service for scaling Neo4j Writes
Java
9
star
32

neotime

JavaScript
9
star
33

nomnomnom

Restaurant Recommendation
CSS
8
star
34

grittier_web

A Neo4j Based Twitter Clone Frontend
HTML
7
star
35

neo_generate

Generate a sample graph by creating nodes and relationship csv files as input to the Neo4j Batch Importer
Ruby
7
star
36

neo4j_cuckoo

Using a Cuckoo filter to speed up relationship creation
Java
7
star
37

kung_fu

Ruby
6
star
38

learn_neo4j

CoffeeScript
6
star
39

router

POC Network routing inside Neo4j
Java
5
star
40

neo_lua

Playing with Lua and Neo4j
Lua
5
star
41

choo_choo

Proof of Concept Weighted Shortest Path of Railroads
Java
5
star
42

neo_hubway

Hubway Challenge dataset into a Neo4j graph database
JavaScript
5
star
43

neo_warmup

Warm up Neo4j
Java
5
star
44

distinct_network

Stored Procedure to get the distinct network of a node 4 levels out
Java
5
star
45

neo_cc

Unmanaged Extension for Connected Components in Neo4j
Java
5
star
46

louvain

Cluster nodes by Louvain Method
Java
4
star
47

triton

C++
4
star
48

neo_ivr

Sample Neo4j IVR with Twilio
JavaScript
4
star
49

archetype_api

Archetype API
Java
4
star
50

instacart

Instacart Market Basket Analysis
Java
4
star
51

order_workflow

POC Order Workflow Management with Neo4j
Java
4
star
52

memgraph_benchmark

Reproducing the memgraph benchmark using Gatling
Scala
4
star
53

que_dicen

POC building subgraphs of documents
Java
4
star
54

Camel

Coming Soon page in Sinatra, using Campaign Monitor, hosted on Heroku
Ruby
4
star
55

neo_intro

A condensed list of examples using Neography with Neo4j
Ruby
4
star
56

nerdier

It is a ruby gem which provides an interface to NERD http://nerd.eurecom.fr
Ruby
3
star
57

boolean_filtering

Proof of Concept Boolean Logic Filtering in Neo4j
Java
3
star
58

branches

POC Decision Stream into Neo4j
Java
3
star
59

archetype_extension

High Performance Neo4j Sample Service
Java
3
star
60

neowaza

Neo4j App for Waza
JavaScript
3
star
61

finding_triplets

Finding triplets using Neo4j
Java
3
star
62

neo_hpce

Neo4j High Performance Compressed Edition Code
Java
3
star
63

parallel_khop

Parallelizing k-hop in Neo4j
Java
3
star
64

import_maxmind

Import the MaxMind Cities Database into Neo4j
Java
3
star
65

cypher_hip_hop

Cypher Stored Procedure for odd even traversal
Java
3
star
66

tucume_sprocs

Tucume Stored Procedures
Java
3
star
67

neo_doc

A Neo4j version of DocGraph, the doctor social graph
Ruby
3
star
68

conference_graph

POC for mapping the Social Graph of Conferences
Ruby
3
star
69

neo4j_kafka_poc

POC using Kakfa with Neo4j
2
star
70

benchmarks

Scala
2
star
71

neo_gatling

Sample Neo4j Gatling Performance Testing Files
Scala
2
star
72

GuancialeDB

POC mixing Guava and Chronicle to make a multi-model database
Java
2
star
73

linkedin_match

Ruby
2
star
74

neo_chronicle_index

Java
2
star
75

neo_spacecargo

Sample Bi-Directional Traversal Extension
Java
2
star
76

neo_accumulate_writes

POC performance improvement of accumulated writes
Scala
2
star
77

neo_recommends

Different algorithms for recommendations using Neo4j
Ruby
2
star
78

neo_grpc

POC gRPC Kernel Extension for Neo4j
Java
2
star
79

neo_loves

A Java Version of Neo_Love
Ruby
2
star
80

facebook_plugin

A Neo4j Facebook Plugin
Java
2
star
81

neo_max_flow

Max Flow in Neo4j
Java
2
star
82

stepwise_decision_trees

POC of stepping through a decision tree one
Java
2
star
83

pagerank_spi

Java
2
star
84

processing_js_intro

Ruby
2
star
85

neo_travis

Example Neo4j Extension Testing using Travis-CI
Java
2
star
86

neo4j_vs_neo4c

Simple Traversal Performance Test
Java
1
star
87

fofs_in_java_api

Unmanaged Extension for Friends of Friends Recommendations in Neo4j 2.0
Java
1
star
88

k2tree

POC k2tree relationship index
Java
1
star
89

neo_similar

Example Match Making site for people who are similar to me.
CSS
1
star
90

wrong_address

Find likely wrong addresses by exploring known connected addresses
Java
1
star
91

related_documents

Example Stored Procedure
Java
1
star
92

knn

Stored Procedure to find the k-neighborhood of a node
Java
1
star
93

one_direction

Stored Procedure in Neo4j 4.1.x
Java
1
star
94

unique_paths

Stored Procedure to find unique nodes.
Java
1
star
95

best_neighbors

POC for best neighbors
Java
1
star
96

ChronicleGraph

Messing around with Chronicle to see how it would handle small graphs
Java
1
star
97

dense

A way to mitigate the dense node problem
Java
1
star
98

medicare

Import Medicare Data into Neo4j
Java
1
star
99

property-level-permissions

Cypher Stored Procedures for Property Level Permissions
Java
1
star
100

neopinion

Ruby
1
star