Skip to content

sienna-kopf/weather_music2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather_Music2

About:

Sinatra micro-service to handle API calls and data synthesis for the user facing Ruby on Rails application, WeatherBop. Part of an 11- day sprint from project inception to completion. All goals for the functionality of this application were met by the deadline! It's deployed here on Herokuapp -- go give it a try!

From a user inputted location, this application retrieves specific weather data and associates the present weather attributes to track audio attributes in order to return a curated list of tracks. This application also handles playlist creation functionality in which the recommended tracks are aggregated into a cleverly named playlist in the users Spotify library.

  • weather data retrieved from the Open Weather API
  • curated track list and playlist creation handled utilizing the Spotify API

Setup:

  • clone and setup locally
  • bundle install

API Key Configuration:

Run touch .env to trigger the creation of a /.env file for configuring API keys.

Sign up for the following API:
OpenWeather
Add the following code snippet to your /.env file.
Make sure to insert the key without the alligator clips ( < > ).

WEATHER_API_KEY=<insert>

Testing:

The weather_music2 application is fully tested using RSpec reporting ~100% test coverage determined by SimpleCov. To run the test suite, setup the application and run bundle exec rspec in the terminal. To run a specific test run bundle exec rspec <test file path>. To open the coverage report generated by SimpleCov run open coverage/index.html.

Tools:

  • Sinatra
  • Corneal
  • dotenv
  • Faraday
  • FastJsonAPI
  • Bcrypt
  • VCR
  • WebMock
  • RSpec
  • Pry
  • Launchy
  • Capybara
  • SimpleCov
  • Spotify API
  • OpenWeather API
  • GitHub & GitHub Projects

Authors:

Sienna Kopf
Neeru Ram

Ashkan Abbasi
Joshua Tukman

About

Sinatra MicroService for WeatherBop Mod 3 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •