Skip to content

AngelKafui4/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

A React-based weather application that allows users to search for and view the current weather conditions and forecasts in a specific city or user's location.

Features

  • Get weather information based on location
  • Search for weather information by city name
  • Display the current temperature, humidity, wind speed, weather description, and weather icon
  • Access weather forecasts for the next 5 days
  • Responsive design that works on desktop and mobile devices
  • Handles API errors and displays user-friendly error messages
  • Utilizes React Hooks for state management and API requests

Usage

  1. Enter the name of the city you want to search for in the search field or allow location services.
  2. Click the "Get Weather" button or press Enter.
  3. The app will display the current weather information for the specified city, including the temperature, humidity, wind speed, weather description, and weather icon.
  4. Display the weather forecast for the next 5 days.

Technologies Used

  • React
  • Axios for making API requests
  • Bootstrap for styling
  • OpenWeatherMap API

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.

License

This project is licensed under the MIT License.