GitHub User Info
A small and simple app powered by Ruby on Rails that fetches data from the GitHub API v3.
System dependencies
- Docker & Compose
Quick start
- 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!
Final notes
- 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
rspecon the root folder (you might need to runrails db:migrate RAILS_ENV=testbefore)