Web app to play Youtube videos of your LastFM's favorited tracks. The app utilizes LastFM's API to get your favorited tracks and then scrapes Youtube for their respective music videos using Scrape YouTube searches (API). The Spotify's API is also integrated to provide song information.
Technologies:
- Ruby on Rails
- Javascript/jQuery/Ajax
- Bootstrap
- Rspec/Capybara
APIs:
- Scrape YouTube searches (API)
- LastFM API
- Spotify API
Ruby Gems :
- Nokogiri
- Kaminari
- Selenium-webdriver
- Geckodriver-helper
- Gritter
- Social-share-button
- font-awesome-rails
- Rubocop
- Newrelic_rpm
- Rspotify
- Popper_js
- Figaro
The setups steps expect following tools installed on the system.
- Github
- Ruby [2.7.1]
- Rails [5.1.4]
git clone https://github.com/Hatemachine01/lastfm-youtube.git
Copy the sample database.yml file and edit the database configuration as required.
cp config/database.yml.sample config/database.yml
Run the following commands to create and setup the database.
bundle exec rake db:create
bundle exec rake db:setup
You can start the rails server using the command given below.
bundle exec rails s
And now you can visit the site with the URL http://localhost:3000