We're going to create a Rails application that will allow the user to search for Github repositories via the Github API.
The basic Rails app has been provided. You'll need to implement the API parts and make the tests pass. This lab will test your documentation reading skills as well as your coding skills!
RepositoriesController
and use Faraday to query the Github
repository search. Use your client ID and secret for the request.Top-tip: Dotenv is a great way to keep configuration variables for development, but always remember to add .env
to your .gitignore
so you don't share your secrets with everyone else!