Skip to content

brukcodes/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Weather App

A simple and user-friendly web application that displays current weather information for any city worldwide. Powered by OpenWeatherMap API.

Features

  • Search for weather by city name
  • Displays current temperature, weather condition, humidity, and wind speed
  • Clean and responsive UI
  • Error handling for invalid locations
  • (Optional) 5-day forecast

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/brukcodes/weather-app.git
    cd weather-app
  2. Install dependencies:

    npm install
  3. Create a .env file in the root directory and add your OpenWeatherMap API key:

    REACT_APP_WEATHER_API_KEY=ccbdda41acb9d9b1153c0e456cec4bb7   ```
    
    
  4. Start the application:

    npm start
  5. Visit http://localhost:3000 in your browser.

Usage

  1. Enter the name of a city in the search bar.
  2. Press "Search" or hit Enter.
  3. View the current weather details and forecast.

Built With

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors