Name: golang-bolt-movie-example
Owner: Neo4j Examples
Description: Movie example for the golang neo4j bolt driver
Forked from: johnnadratowski/golang-bolt-movie-example
Created: 2016-10-02 22:33:13.0
Updated: 2018-05-08 12:35:02.0
Pushed: 2016-08-16 04:55:49.0
Homepage: null
Size: 48
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Shamelessly modified from https://github.com/neo4j-examples/movies-go-cq
Get Movie
ON object for single movie with cast
http://bolt-neo4j-movies.herokuapp.com/movie/The%20Matrix
st of JSON objects for movie search results
http://bolt-neo4j-movies.herokuapp.com/search?q=matrix
ON object for whole graph viz (nodes, links - arrays)
http://bolt-neo4j-movies.herokuapp.com/graph
This uses the Go standard library HTTP server, along with the Golang Neo4j Bolt Driver library.
Start your local Neo4j Server Download & Install, open the Neo4j Browser.
Then install the Movies data-set with :play movies
, click the statement, and hit the triangular “Run” button.
Start this application with:
J_URL=bolt://localhost:7687/ PORT=8080 go run server.go
Go to http://localhost:8080
You can search for movies by title or and click on any entry.
eate a new app with the go buildpack
ku create -b https://github.com/kr/heroku-buildpack-go.git
sure to set your NEO4J_URL in the Heroku configs.
used GrapheneDB to host the Neo4j instance
sh to heroku
push heroku master