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
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