Skip to content

mikolajgawronski/weather

Repository files navigation

Weather

This project was made as an recruitment task for Ideo. It's an simple app that allows the user to add a city of their choice and check the weather in that city.

The App also updates it's weather database once every thirty minutes. All data from the API is saved into a MySQL database.

Installation

1. Create .env file based on .env.example:

Linux:

cp .env.example .env

Windows:

copy .env.example .env

2. Run containers:

docker-compose up -d

or

./vendor/bin/sail up

3. Enter the container:

docker exec -it weather_laravel.test_1 /bin/bash

4. Fetch dependencies:

composer install

5. Generate application key:

 php artisan key:generate

6. Run migrations:

 php artisan migrate --seed

7. Now you can access the app here:

http://localhost/

Author:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published