https://github.com/cmsrs/weather
get temperature from API - OpenWeatherMap - laravel project
https://github.com/cmsrs/weather
Last synced: 11 months ago
JSON representation
get temperature from API - OpenWeatherMap - laravel project
- Host: GitHub
- URL: https://github.com/cmsrs/weather
- Owner: cmsrs
- License: mit
- Created: 2019-10-03T16:43:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T07:49:12.000Z (over 3 years ago)
- Last Synced: 2025-04-03T01:44:02.938Z (about 1 year ago)
- Language: PHP
- Size: 151 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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