Giter VIP home page Giter VIP logo

movies-ruby-neo4j-core's Introduction

The Neo4j-core Ruby driver

This example demonstrates how to use neo4j-core to execute cypher queries.

Basically, this is a simple Sinatra application, providing a number of endpoints /graph, /search and /movie. These execute hard-coded Cypher queries against the Neo4j Server backend, and parse the results to provide JSON responses to the frontend JavaScript code.

How to Install

bundle install

How to run

In your Neo4j web console UI you should type :play movies to load the data into your database.

Then to start up the web server:

# with rackup
NEO4J_URL=http://neo4j:neo5j@localhost:7474 bundle exec rackup config.ru

If your neo4j server is not running on http://localhost:7474 then you can specify an alternate location with an environment variable named NEO4J_URL. You can use either http or bolt like so:

NEO4J_URL=http://neo4j:password@localhost:7474
NEO4J_URL=bolt://neo4j:password@localhost:7687

If your neo4j server is not running on localhost:7474 then you can specify an alternate location with an environment variable named NEO4J_URL.

movies-ruby-neo4j-core's People

Contributors

cheerfulstoic avatar jexp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

movies-ruby-neo4j-core's Issues

movies?

Is this application expecting a folder to be named movies and contain something? Would be helpful to explain this in the readme. Trying to set this up unsuccessfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.