/weather-app

This application provides real-time weather updates using a public weather API and build in React. The application allows users to view the current weather and a 7-day weather forecast for any city.

Primary LanguageJavaScript

Weather App Outlook

This React Vite project provides real-time weather updates using a public weather API. The application allows users to view the current weather and a 7-day weather forecast for any city.

Features

Current Weather: View the current weather (temperature, humidyty and wind speed for any city). 7-Day Forecast: View max and min temperature for 7-day weather forecast. Initial Default City: New York Search Functionality: Enter the name of a city in the search field to get weather information.

Public Weather API

The app uses the Open-Meteo public API. You can find the API documentation here: https://open-meteo.com/en/docs

The application makes three main API calls to function:

  • Geocoding: To obtain the latitude and longitude of the city.
  • Current Weather: To get the current weather data for selected city.
  • 7-Day Forecast: To fetch the weather forecast for the next seven days.

Live Demo

Check out the live demo of the Weather App here: https://weather-applook.netlify.app/

Enjoy exploring the weather updates!