Skip to content

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](https://darksky.net/dev/docs)

Notifications You must be signed in to change notification settings

songokjesse/darksky_api_laravel_client

Repository files navigation

Technical assignment back-end engineer

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

Clone GitHub repo for this project locally

git clone https://github.com/songokjesse/technical-assignment-back-end-engineer-songokjesse

cd /to project

Installation

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

Settings

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]

screenshot

alt text

Contributing

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.

License

MIT

About

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](https://darksky.net/dev/docs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages