Giter Site home page Giter Site logo

framallo / movies-with-neo4j Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 4.0 90 KB

A rails application using neo4j.rb and neo4j graph database

Home Page: http://movies-with-neo4j.framallo.com/

License: MIT License

Ruby 81.12% JavaScript 1.34% CoffeeScript 0.20% CSS 1.33% HTML 16.00%

movies-with-neo4j's Introduction

Code Climate

Test Coverage

Movies rails application using Neo4j

This is a project example similar to movies-ruby-neo4j-core but using rails and the latest version of neo4j

Why?

Because I wanted to update to the latest ruby library and I wanted to have tests in the example project.

Setup

You need to start neo4j and set up the environment variable NEO4J_URL

neo4j start
echo NEO4J_URL=http://user:password@localhost:7474/ >> .env

Also, you need to install and setup the test database

rake neo4j:install[community-2.2.4,test]
rake neo4j:config[test,7475]
echo NEO4J_URL=http://localhost:7475/ >> .env.test

Test

In order to run the test suite you need to run a test instance of neo4j

rake neo4j:start[test]
guard

I am skipping the seed tests with Guard, but you can test the seed task manually with

rspec spec/lib/tasks/db_spec.rb

seed the database

rake db:seed

Issues

installing liibv8

run this command. You can read more here

gem install libv8 -v '3.16.14.11' -- --with-system-v8

Neo4j configuration error

If your username or password is incorrect you might get this error

resource.rb:37:in `handle_response_error!': Expected response code 200 Error for request

movies-with-neo4j's People

Contributors

cheerfulstoic avatar framallo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.