Skip to content

uttrasey/weatherforecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

5 day weather forecast

npm install // gather deps

npm start // run local with hot reload

npm run build // bundle minified production code

Architecture Notes

  • I have been maintaining my own React boilerplate to deploy any apps that I build. It takes inspiration from lots of sources but most recently incorporated a number of features from an ejected create-react-app build.
  • My personal preference is to move away from gulp/grunt and get as much into Webpack & pure JS as possible. Webpack is great and we already know JS so not using another tool means one less thing to learn/forget.
  • Optioned Babel as it allows us to write beautiful code
  • Optioned Aphrodite as I've been meaning to use a JS CSS framework (css modulesesque)
  • Optioned JEST as it's supported very well with React and does a good job
  • Put in an s3 bucket on AWS as I already have a couple of sites + SSL there. Next steps would be putting the JS on CloudFront CDN.

TODO

  • SADLY the majority of time was spent getting things setup and CSS/UX was the piece that was neglected... given more time I would make what is functional here look nice
  • More tests
  • Move API calls behind a node proxy
  • can use browserHistory
  • need to hide the key and stop denial of service.
  • Add in better redux async support for failed requests etc
  • Add in support for failed locations (routing etc.)
  • Allow reloading of weather requests (currently they will cache)
  • Make it prettier... didn't have time for fancy CSS/HTML
  • Sort out API usage... looks like it's set to USA location
  • Sort out router Links that are not displaying active style

About

5 day weather forecast application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors