Skip to content

React/React Easy State App that uses OpenWeatherMap weather API to show current weather and 5 day forecast

Notifications You must be signed in to change notification settings

josipovich/rain-drops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rain Drops

This project was bootstrapped with Create React App.

Rain Drops is React App that uses OpenWeatherMap weather API to show current weather and 5 day forecasts. For state management uses React Easy State and leaflet is used as a map.

Live demo can be found here.

Rain Drops

Results are split in two groups: current and forecast.

Current

Descibes current weather measured in the last 30-60 minutes. Shows exact time of measurement and short weather description.

Forecast

Forecast is similar to a calendar, but with weather and on a day level. Shows basic weather info for several days.

For each day there are 8 potential forecasts (or less, depending on what time is it in the time of query). In total there are 40 forecasts and they are for 5 or 6 days.

Clicking on a legend will highlight all forecasts measurements with that type of weather.

Clicking on a forecast measurement will show additional weather information (weather type, humidity, pressure, rain and wind).

Setup

Starting the app:

npm install
npm start

You'll need API key for OpenWeatherMap and you can get one for free here. Register API key as REACT_APP_OPENWEATHER_KEY.

For more info on build, deployment, passing environement variables and testing please visit Create React App.

About

React/React Easy State App that uses OpenWeatherMap weather API to show current weather and 5 day forecast

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published