Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmsrs/weather

get temperature from API - OpenWeatherMap - laravel project
https://github.com/cmsrs/weather

Last synced: 11 days ago
JSON representation

get temperature from API - OpenWeatherMap - laravel project

Awesome Lists containing this project

README

        

# Weather
Get temperature from API - OpenWeatherMap - Laravel project

* install dependency

```bash
composer install
```

* create vhost

* permission

```bash
chmod -R 777 storage
chmod -R 777 bootstrap/cache
```

* set database config in file .env and .env.testing

* add OPEN_WEATHER_MAP_KEY to .env and .env.testing. This key you can obtain from: https://openweathermap.org/

* migrate db

```bash
php artisan migrate
```

* run tests

```bash
./vendor/bin/phpunit
```

Print screen

Print screen