Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cmsrs/weather
- Owner: cmsrs
- License: mit
- Created: 2019-10-03T16:43:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T07:49:12.000Z (almost 2 years ago)
- Last Synced: 2023-08-04T03:07:35.141Z (over 1 year ago)
- Language: PHP
- Size: 151 KB
- Stars: 2
- Watchers: 3
- 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