Skip to content

barr-code/Thermostat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Thermostat: Week 6 Project at Makers Academy This thermostat allows you to set the temperature with a press of a button. It also uses the myweather2 API to show the current temperature outside, so you can decide how high or low to set your thermostat. It changes color as the temperature gets hotter and colder. Page updates dynamically. Wrapped the whole thing up into a Sinatra app instead of using Ajax requests to access the API.

Languages and Tools

  - JavaScript
  - JQuery
  - HTML
  - CSS
  - Jasmine
  - MyWeather2 API
  - Sinatra

### How to Open Clone this repository.

  $ git clone [email protected]:barr-code/Thermostat.git

Change into the directory.

  $ cd thermostat

Run my tests.

  $ open SpecRunner.html

Fire it Up

  $ ruby thermostat.rb

Notes

It was really interesting and cool to make JavaScript and Ruby play nice by running my Thermostat JS back end in a Ruby/Sinatra shell.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages