Skip to content

This Weather App is built using React and integrates with the OpenWeatherMap API to provide real-time weather data. The app allows users to search for and view the current weather conditions of any city in the world.

Notifications You must be signed in to change notification settings

sumedhakoranga/weatherapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Cloudy Weather

Introduction

This React-based Weather App allows users to search for real-time weather conditions in any city. One of the coolest features is its dynamic display of weather-appropriate GIFs, making the user interface engaging and fun.

Clear Sky GIF

Features

  • Search Functionality: Users can search for any city to get the latest weather information.

  • Dynamic Weather GIFs: Depending on the weather conditions (like sunny, rainy, snow, etc.), the app displays a corresponding GIF, adding a fun visual element to the weather data.

  • Responsive Design: Optimized for both desktop and mobile devices, ensuring a seamless experience across all platforms.

Technologies Used

  • React: Used for building the user interface.
  • Semantic UI React: For styling and responsive design elements.
  • API: OpenWeatherMap API for fetching real-time weather data.

Setup

To run this project locally:

git clone [email protected]:sumedhakoranga/weatherapp.git
cd weatherapp
npm install
npm start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file:

REACT_APP_API_URL = 'https://api.openweathermap.org/data/2.5'
REACT_APP_API_KEY = 'ENTER_KEY'

Usage

  1. Start the App: Run npm start, and navigate to http://localhost:3000.

  2. Search for a City: Enter the name of the city in the search bar.

  3. View Weather and GIF: Get real-time weather data along with a fun GIF representing the current weather.

About

This Weather App is built using React and integrates with the OpenWeatherMap API to provide real-time weather data. The app allows users to search for and view the current weather conditions of any city in the world.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published