Skip to content

abishaekduresh/City-based-Weather-Application-using-React-JS

Repository files navigation

City-Based Weather Application

This City-Based Weather Application is a dynamic and user-friendly web app built with React.js, allowing users to check current weather conditions for any city around the globe. It leverages the Current Weather API from OpenWeather to provide real-time updates.

Features

  • ☁️ Real-time Weather Data: Instant updates on temperature, humidity, wind speed, and other vital weather information for any searched city.
  • 📱 Intuitive User Interface: A clean and responsive design for a seamless experience across devices.
  • ⚠️ Error Handling: Robust error management for scenarios such as incorrect city names or network issues.
  • 🔍 Interactive Search: Easy entry of city names in an input field with immediate feedback.
  • 🌈 Visual Representation: Engaging weather icons for a quick visual summary of the forecast.

Live Demo

You can check out the live application here: weather.abishaek.com

Technologies Used

  • Frontend: React.js
  • API: OpenWeather Current Weather API
  • Node.js: v21.7.3
  • npm: v10.5.0

Installation

To run this application locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/abishaekduresh/City-based-Weather-Application-using-React-JS.git
    
  2. Navigate into the project directory:

    cd city-based-weather-app
    
  3. Install dependencies:

    npm install
    
  4. Run the application:

    npm run dev
    

Running the Application

The application will be running at http://localhost:5174.

Usage

  • Enter a city name in the search bar and press "Enter" or click the search icon to fetch the weather data.
  • The application displays real-time weather information, including temperature, humidity, wind speed, and location coordinates.

Contributing

Contributions are welcome! If you have suggestions for improvements or features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Thanks to OpenWeather for providing the weather data API.
  • Special thanks to the React.js community for their invaluable resources and support.

About

City-based-Weather-Application-using-React-JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published