/Neo4j-NodeJS-Social-Network-Videos

Build a social network with Neo4j and NodeJS.

Primary LanguageJavaScript

Social Network With Neo4j And NodeJS

Build Status Npm version Node version Bower version

Requirements

  1. Node
  2. Neo4j running

Installation

Install Neo4j

Install using apt-get

Add the package:

wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt-key add -
echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list
apt-get -y update

Install the neo4j package: apt-get install neo4j

Video: How to install Neo4j

Install Dependencies Using NPM

npm install

Define Environment Variables

export DEBUG=true
export APP_SECRET=<Your-Secret-Key>
export GRAPH_DB_URL=http://neo4j:neo4j@0.0.0.0

Load The Data

Use this file to load the data:

cat ./lib/cypher/schema.cypher

# Ubuntu
cat ./lib/cypher/schema.cypher | cb
# Mac
cat ./lib/cypher/schema.cypher | pbcopy

Watch the videos on YouTube

conpanna.net