-
Ruby version - 2.2.2
-
Ruby version - 4.2.6
-
System Dependencies
-
bundle install (to install all the Gems and dependencies)
-
rails server (to run the rails app)
-
-
Database
-
MySQL
-
-
3rd party Dependencies
-
The app uses 3rd party LastFM API to fetch Artists and Top tracks
-
We need to have a valid API Key from LastFM API
-
-
To run the test suite
-
rspec . (To run all the test cases)
-
For developing the test suite we have used following gems
- rspec-rails - webmock (To mock the API requests) - vcr (To store the responses) - capybara (For feature tests) - capybara-screenshot (To have screenshots when the test fails)
-
-
Task
-
User can enter a keyword (country name), which is then used to search Lastfm via their REST API
-
The results should be paginated and displayed as five per page, and the user can navigate to other pages
-
User can select an artist and get his top 50 tracks displayed.
-
amalkumars / artists Goto Github PK
View Code? Open in Web Editor NEWThis is an application used to search for top artists in a country using Lastfm API