Skip to content

Barebones Rails application to experimentally model social network friendships in a Neo4j graph database.

Notifications You must be signed in to change notification settings

rastamhadi/tomodachi

Repository files navigation

Tomodachi

This is a barebones Rails application with a Neo4j graph database backend.

Prerequisites

  • rbenv
  • bundler

Installation

  1. Install Java 8.

    $ brew tap homebrew/cask-versions
    $ brew cask install java8
    
  2. Install Neo4j.

    $ bundle exec rake neo4j:install[community-3.5.3]
    
  3. Start the Neo4j server.

    $ bundle exec rake neo4j:start
    
  4. Run the migrations.

    $ bundle exec rails neo4j:migrate
    

Usage

  1. Start the Rails server.

    $ bin/rails server
    
  2. Create friends and friendships in the CRUD interface.

    CRUD Interface

  3. View the friendship graph in the Neo4j Browser.

    Friendship Graph

About

Barebones Rails application to experimentally model social network friendships in a Neo4j graph database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published