Skip to content

tronbeing3030/weather-app

Repository files navigation

Weather App

A simple and intuitive weather application built using React, Axios, and OpenWeatherAPI.

Table of Contents

Overview

The Weather App allows users to check the current weather conditions for any city around the globe. It is designed to be simple and user-friendly.

Features

Search for current weather by city name

Display temperature, weather condition, humidity, and wind speed

For desktop users only

Real-time weather data fetched from OpenWeatherAPI

Technologies Used

React

Axios

OpenWeatherAPI

CSS for styling

Installation

Follow these steps to set up and run the project locally:

  1. Clone the Repository
    git clone <repository-url>
    cd <project-directory>
  2. npm install
  3. npm run dev

Get your OpenWeatherAPI key:

Sign up at OpenWeatherAPI and get your API key.

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

VITE_API_KEY=your_api_key

Start the application:

Usage

Enter the name of the city in the search bar.

Click the "Search" button.

The app will display the current weather conditions for the specified city.

image

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

OpenWeatherAPI for providing the weather data.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •