/graff

A Social Graph API

Primary LanguageGo

GRAFF - A Social Graph API

GopherGlimpse

Getting Started

  1. Install Goop from outside the proejct: go get github.com/nitrous-io/goop

  2. Run goop install

  3. Build worker goop go build worker.go

Neo4J Indexes

Neo4J Schema Index Docs

We have to create the following indexs (these are nodes that we directly query with the 'WHERE' clause):

CREATE INDEX ON :InstagramUser(InstagramID)
CREATE INDEX ON :InstagramLocation(Username)
CREATE INDEX ON :InstagramLocation(InstagramID)

Deployment Build Binary

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 goop go build -o graff worker.go