Skip to content

lionix-team/weather-api-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

This is an image

How to do the task

Fork the project, work on the solution and send us back a link to your forked GitHub project.

Weather API - Laravel Developer Test Task

We will use Open Weather API to get current weather data based on latitude/longitude.


Task

Create a project, that will pull the weather information of cities based on latitude/longitude and will store it in the database every two minutes.

Data to store

  • Store the data about cities in the database
  • Store the data about weather information in the database every two minutes

Rest API Endpoints

  • Store the data about cities in the database
  • Get the list of the stored weather information
  • Ability to filter the weather information by city name ( exact match )

Data

Columns that should be stored about city

  • City name
  • Latitude
  • Longitude

Columns that should be stored about weather information in the table:

  • Time
  • Name
  • Latitude
  • Longitude
  • Temperature (in Celsius)
  • Pressure
  • Humidity
  • MIN Temperature
  • MAX Temperature

Example Cities

Name Latitude Longitude
Yerevan 40.18 44.51
Kapan 39.21 46.41

Note:

In your solution include the readme with the explanation of how to run the project and get the data.

About

Laravel Developer Test Task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published