Skip to content

Repository files navigation

Weather App

A simple weather application that displays current weather information for a specified location.

Features

  • Search for weather by city name
  • View current temperature, humidity, and weather conditions
  • User-friendly interface

Installation

  1. Clone the repository:

    git clone https://github.com/dilushamadushan/react-weather-app.git
    cd react-weather-app
  2. Install dependencies:
    Make sure you have Node.js and npm installed.

    npm install
  3. Set up environment variables:
    Create a .env file in the root directory and add the following variables:

    VITE_API_KEY=your_api_key_here
    VITE_BASE_URL=your_base_url_here
    

    Replace your_api_key_here with your weather API key, and your_base_url_here with the base URL of your weather API provider.

  4. Run the development server:

    npm start

Usage

  • Enter the name of a city in the search bar to view the current weather conditions for that location.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any bug fixes or enhancements.

About

A simple and responsive React-based weather application that allows users to view current weather conditions and forecasts for any city worldwide. Integrates with a public weather API and features a clean, modern UI.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages