Skip to content

kx-chen/hootsuite-weather-app

Repository files navigation

Hootsuite Weather App

Build Status

Get weather results right in your Hootsuite dashboard!

Structure

src/js/

Main JavaScript code for the app is here, including utils, some libraries, etc.

src/js/app.js

The actual code for the app.

tests/

Tests for the app.

index.js

Backend/node server for the app.

views/

Contains the HTML templates for the app.

TODO:

  • Change class names in HTML from hs_*
  • Remove repetition in tests, especially with the dummy data and dummy response JSON
  • Remove inline HTML
  • Refactor return types of responses/geocode results to proper objects
    • in tests
    • in app code
  • Add eventlisteners instead of using onclick in HTML
  • Extract all error messages, class selectors, strings, urls into own file
  • Shorten code to under 80 columns

Possible improvements:

  • Comparison with already existing WeatherModels when adding new locations so all locations don't have to refresh when adding a new location

About

Current weather conditions in your Hootsuite dashboard!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published