Skip to content

hassancoder1/reactjs-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

A simple weather app built with ReactJS that allows users to search for the weather of a specific city.

Features

  • Search for the weather of any city.
  • Displays temperature, humidity, and wind speed.
  • Shows an appropriate weather icon based on the weather conditions.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine.

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/hassancoder1/reactjs-weather-app.git
    cd weather-app
  2. Install dependencies:

    npm install
  3. Set up the API key: Obtain an API key from OpenWeatherMap (https://openweathermap.org/api) and replace "YOUR_API_KEY" in WheatherApp.jsx with your actual API key.

  4. Start the development server:

    npm start
  5. Open your browser and navigate to http://localhost:3000 to see the app running.

Usage

  1. Enter the city name in the search input field.
  2. Click the search icon.
  3. The weather information for the specified city will be displayed.

Built With

Contributing

Contributions are welcome! If you have any ideas, enhancements, or bug fixes, please open an issue or create a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published