Skip to content

Divyesh-5981/weather-app-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weatherly 🌦️

Overview 🚀

Welcome to Weatherly! Your go-to weather app built with HTML, CSS, and JavaScript. Stay informed about the weather conditions for any city or country. What sets Weatherly apart is its efficient use of local storage, preventing unnecessary API calls for the same location within an hour.

Features 🚀

  • Real-Time Updates: Get the latest weather conditions for your location or any city worldwide.
  • 5-Day Forecast: Plan your week with a detailed 5-day weather forecast.
  • City Search: Explore weather information for any city with an easy-to-use search feature.
  • Temperature Units: Switch between Celsius and Fahrenheit to suit your preference.
  • Responsive Design: Enjoy a seamless experience across desktop and mobile devices.
  • Local Storage Optimization: Prevents redundant API calls for the same location within an hour, enhancing performance.

Technologies Used ⚛️

  • React: Building dynamic and responsive user interfaces.
  • OpenWeather API: Fetching accurate and up-to-date weather data.

Usage 🌐

  1. Clone the repository:

    git clone https://github.com/your-username/weather-app-react.git
    
  2. Navigate to the project directory:

    cd weather-app-react
    
  3. Install dependencies:

    npm install
    
  4. Obtain your OpenWeather API key:

    • Visit OpenWeather and sign up for a free API key.
    • Copy the API key.
  5. Create a .env file in the project root:

    • Create a file named .env in the project root.

    • Add your OpenWeather API key to the .env file:

      REACT_APP_OPENWEATHER_API_KEY=your_api_key_here
      
  6. Run the app:

    npm start
    
  7. Explore the Weather:

    • Enter a city or country, stay updated with the current weather, and plan your days seamlessly.

Demo 🎥

Acknowledgements 🙏

  • Special thanks to OpenWeather for providing reliable weather data.

Get in Touch 👋

About

☁️ An interactive weather application built with React that leverages the OpenWeather API to provide real-time weather information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors