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: 3 months ago
JSON representation
Weather app connection with api shows weather data with graphs
- Host: GitHub
- URL: https://github.com/przemekhasz/weather-app
- Owner: Przemekhasz
- Created: 2021-10-04T10:04:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-24T20:19:44.000Z (over 4 years ago)
- Last Synced: 2025-01-11T05:16:33.455Z (over 1 year ago)
- Topics: backend, blade-template, bootstrap4, css, html, laravel, laravel-framework, php, sql
- Language: PHP
- Homepage:
- Size: 5.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.