Skip to content

mohanMERNdev/weatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Information Service

This project is a simple weather information service built using React. It fetches and displays weather information based on user input (city or location) using the OpenWeatherMap API.

Features

  • Fetches weather data for a given city using the OpenWeatherMap API.
  • Displays the temperature, weather description, humidity, and wind speed.
  • Clears the input field after displaying the weather data.
  • Responsive design with a clean and simple UI.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/weather-app.git
    cd weather-app
  2. Install dependencies:

    npm install
  3. Run the app:

    npm start

The application will start and be accessible at http://localhost:3000.

Usage

  1. Open the app in your browser.
  2. Enter a city name in the input field.
  3. Click the "Get Weather" button.
  4. The weather information for the specified city will be displayed, and the input field will be cleared.

Releases

No releases published

Packages

No packages published