Skip to content

Krishchal/React--Weather-API-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

City Weather App

This is a simple weather application built with React that allows users to fetch and display weather information for a specified city using the OpenWeatherMap API.

Features

  • Users can enter the name of a city and get current weather details.
  • Displays:
    • City name
    • Country
    • Current temperature (in Celsius)
    • Weather description (e.g., cloudy, sunny)
    • Weather icon

Demo

The app fetches live weather data from OpenWeatherMap and displays the information in an easy-to-read format.

Prerequisites

Make sure you have the following installed:

Setup

  1. Clone the repository to your local machine:

    git clone <repository-url>
    cd <repository-folder>

Install the required dependencies:

bash npm install Replace the OpenWeatherMap API key (appid) with your own API key in the following line of App.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published