Giter Site home page Giter Site logo

weatherforecast's Introduction

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

weatherforecast's People

Contributors

uttrasey avatar

Watchers

 avatar  avatar

weatherforecast's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.