Skip to content

code-later/github_recommender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Recommender

This is a small Rails app to showcase the Guacamole gem for the multi-model database ArangoDB.

Since ArangoDB has very good graph features and Guacamole uses a graph to implement relations between documents this app has its focus on this.

The app does the following:

  • Fetches your Github user and all of your followings
  • Fetch your repositories and all of your followings
  • Recommend repositories based on your followings

Running the app

Before you start you need to install ArangoDB additionally you need Redis for the background jobs.

After your cloned the repo, run a bunle install

bundle install

Now you need to create the development database in ArangoDB

bundle exec rake db:create

In order to communicate with GitHub you need to create an OAuth application and add the key and secret to .env

export GITHUB_KEY=your-key
export GITHUB_SECRET=your-secret

After that start the server and worker and point your browser to http://localhost:3001

bundle exec invoker start Procfile --port 3000 

About

A sample Rails application to showcase the graph integration of Guacamole

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published