Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.73 KB

readme.md

File metadata and controls

50 lines (37 loc) · 1.73 KB

KC PHPUG - Weather Service Example Project

Installation

Works great with PHP's development web server or Laravel Homestead

git clone [email protected]:kcphpug/WeatherService.git WeatherService
cd WeatherService
composer install
cp .env.example .env
cd public
php -S 127.0.0.1:8800

Credits

Intro to AngularJS

Meeting on May 13, 2015 | By Lee Brandt from PaigeLabs. AngularJS portions based on what we did at a recent GDGKC meeting:

Introducing Lumen from Laravel

Posted on April 14, 2015 | By Matt Stauffer

https://mattstauffer.co/blog/introducing-lumen-from-laravel

License

This project is open-sourced software licensed under the MIT license

Open Lab Time

Looking for ideas of things to add?

Front-end

  • Remove the "Main Temp" and "Min Temp" that appear when the page is loaded
  • Enhance the layout eg. add Bootstrap
  • Cache the image icons, or better yet--serve up your own!
  • Allow pressing Enter to submit form

Back-end

  • Don't cache Errors from proxyed requests
  • Add a DB Table (SQLite or even MySQL) to track trends or search stats
  • Merge in results from a second API like PredictTheSky or Flickr
  • Change [Lumen caching](lumen.laravel.com/docs/cache] to using memcached or Redis
  • Add some application logging
  • Add some additional metadata to the proxyed request that shows the date pulled or even cache hits
  • Unit Tests for PassThrough (may need refactoring)