An application that allows the user to view the observed (in the past 30 days) or forecasted (in the future) daily weather conditions for a given location using the Dark Sky API.
#Requirements
- PHP 7
- NGINX OR APACHE
git clone https://github.com/songokjesse/technical-assignment-back-end-engineer-songokjesse
cd /to project
Install composer and npm dependencies
1. composer install
2. yarn or npm install
Create a copy of your .env file
cp .env.example .env
Generate an app encryption key
php artisan key:generate
Get Dark Sky API KEY from Dark Sky API
Get Google Geocoding API Key for getting location from GEOCODING API
Add your api keys to .env
DARK_SKY_ID=[YOUR KEY]
GOOGLE_GEOCODING_API_KEY=[YOUR KEY]
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.