Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/przemekhasz/weather-app

Weather app connection with api shows weather data with graphs
https://github.com/przemekhasz/weather-app

backend blade-template bootstrap4 css html laravel laravel-framework php sql

Last synced: 5 days ago
JSON representation

Weather app connection with api shows weather data with graphs

Awesome Lists containing this project

README

        

## Installation

Clone the repository-

```
git clone https://github.com/Przemekhasz/weather-app.git
```

Then cd into the folder with this command-

```
cd weather-app
```

Then do a composer install

```
composer install
```

Then do a npm update

```
npm update
```

Then create a environment file using this command-

```
cp .env.example .env
```

Then edit `.env` file with appropriate credential for your database server. Just edit these two parameter(`DB_DATABASE`, `API_KEY`).

Then create a database named `weather` and then do a database migration using this command-

```
php artisan migrate
```

## Run server

Run server using this command-

```
php artisan serve
```

Then go to `http://localhost:8000` from your browser and see the app.