GitXplore
A platform that allows you to search for public repositories.
Requirements
- Ruby version 2.6.0
- Rails 5.2.4
- Bundler version 1.17.2
Technology used
- Language
- Ruby
- Framework used
- Ruby on Rails
- Development and testing
- RSpec Rails
- Rubocop
Setting up
-
clone this respository
git clone git@github.com:tomily1/gitxplore.git
. -
Open the cloned directory with
cd gitxplore
. -
Run
bundle install
to install dependencies -
run server with
rails server
Approach
After reading the requirements for searching public repositories on Github's V3 api documentation, I created a very simple web app where I display public repositories from github based on search term provided by user. I added caching based on the search parameter which expires in 3 minutes to avoid hitting the api for same search keywords multiple times.