Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

WeatherApp

WeatherApp is a simple React-based weather application that fetches real-time weather data from the OpenWeatherMap API. The app allows users to search for any city and displays the current temperature, humidity, and wind speed, along with an appropriate weather icon based on the current conditions.

Features

  • Search for weather by city.
  • Displays real-time temperature, humidity, and wind speed.
  • Shows weather icons based on the conditions (e.g., sunny, cloudy, rainy).
  • Responsive UI with a simple, clean design.

Preview

WeatherApp preview

Technologies Used

  • React: Frontend library.
  • OpenWeatherMap API: To fetch weather data.
  • Tailwind CSS: For styling (if Tailwind is used).
  • JavaScript (ES6): Main logic.

Installation

Prerequisites

Before you begin, ensure you have the following installed:

Steps

  1. Clone the repository:
    git clone https://github.com/your-username/weatherapp.git
    cd weatherapp
    
    
  2. Install dependencies:
    npm install
    Create an .env file and add your OpenWeatherMap API key:
  1. Create .env file: REACT_APP_WEATHER_API_KEY=your_api_key_here

  2. Run the app:

    npm start
    Build for production (optional):
  1. How to Use:

Enter the name of the city in the search box and press the search icon. The app will fetch and display the current weather information for that city.

  1. Acknowledgments: Icons are provided by OpenWeatherMap. Weather data is fetched from the OpenWeatherMap API.

  2. License:

This project is licensed under the MIT License.

Author

Sandesh WeatherApp by Sandesh © 2023

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages