Skip to content

A responsive and feature-rich Weather App built using React, designed to provide real-time weather information based on the user's location or a specific city. This app fetches weather data from a weather API and presents it in a clean, user-friendly interface.

Notifications You must be signed in to change notification settings

aryan9653/Weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

A simple weather application that fetches real-time weather data using an API and displays it in a user-friendly interface.

Features

  • Real-time Weather Data: Get current weather details based on user location or search input.
  • Responsive Design: Works on both desktop and mobile devices.
  • API Integration: Fetches data from a weather API.
  • User-friendly Interface: Easy-to-use UI for quick weather lookup.

Prerequisites

Before setting up the project, ensure you have the following installed:

Installation

Step 1: Clone the Repository

git clone https://github.com/aryan9653/Weather-app.git
cd Weather-app

Step 2: Install Dependencies

npm install

Step 3: Set Up Environment Variables

Create a .env file in the project root and add your API key:

REACT_APP_WEATHER_API_KEY=your_api_key_here

Replace your_api_key_here with your actual weather API key.

Step 4: Run the Application

npm start

Step 5: Access the Application

Once running, open your browser and navigate to:

http://localhost:3000

Running with Docker (Optional)

docker build -t weather-app .
docker run -p 3000:3000 --env-file .env weather-app

Contribution

Feel free to fork the repository, create a new branch, make improvements, and submit a pull request.

License

This project is licensed under the MIT License.


About

A responsive and feature-rich Weather App built using React, designed to provide real-time weather information based on the user's location or a specific city. This app fetches weather data from a weather API and presents it in a clean, user-friendly interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published