A small and simple app powered by Ruby on Rails that fetches data from the GitHub API v3.
- Docker & Compose
- Clone the repository
- Run
docker-compose build
- Run
docker-compose up
- In another terminal window, run
docker-compose run web rake db:create && docker-compose run web rails db:migrate
- Open http://localhost:8080 and the app should be running!
- In case you have problems with GitHub's API rate limiting, set an environment variable called "GH" with a valid OAuth2 token
- To run tests, run
rspec
on the root folder (you might need to runrails db:migrate RAILS_ENV=test
before)