Follow the steps to run the application:
-
Clone the application, run command
git clone https://github.com/sonu1989/GitHubRepositoryList.git
-
Run command
bundle install
-
Run command
rails server
-
Now open the url
http://localhost:3000
How operate the application
-
When you open url
http://localhost:3000
, you will see the page with two option to find repository- Search a repository
- Here enter the repository name you want to search and click to
Find Repository
button - You will see the matched repository details there if any match found.
- Get list of repositories
- Here you need to add select the type either you want to see user reposiories or organization repositories.
- Then enter the username of user or name of organization and click to
Find Repository
button - You will see the list of repositories.
Please have a look to following video to check how application will work