Skip to content

JaveriyaSaleem/weather-app

Repository files navigation

Weather App 🌦️

A modern and responsive weather application that provides real-time weather updates, built using React and styled with Tailwind CSS. This app offers a seamless user experience with features like Dark/Light Mode, local time display, and full responsiveness across all devices. Weather data is fetched from the OpenWeather API.


Features ✨

  • 🌞 Dark and Light Mode for a personalized user experience.
  • 🕒 Displays your local time along with the weather.
  • 📱 Fully responsive design, optimized for all device sizes.
  • 🌍 Provides accurate weather information using the OpenWeather API.
  • 🌡️ Includes temperature, weather condition, and more.
  • Fast and lightweight thanks to React and Tailwind CSS.

Tech Stack 🛠️

  • React: JavaScript library for building the user interface.
  • Tailwind CSS: Utility-first CSS framework for modern styling.
  • OpenWeather API: Provides real-time weather data.

Installation 🚀

Follow these steps to run the Weather App locally:

  1. Clone the repository:
    git clone https://github.com/your-username/weather-app.git
  2. Navigate to the project directory:
    cd weather-app
  3. Install dependencies:
    npm install
  4. Create a .env file in the root directory and add your OpenWeather API key:
    REACT_APP_WEATHER_API_KEY=your_api_key_here
  5. Start the development server:
    npm start
  6. Open your browser and go to:
    http://localhost:3000
    

Usage 🖥️

  1. Open the application in your browser.
  2. Allow location access for accurate weather updates.
  3. Toggle between Dark Mode and Light Mode to match your preference.
  4. Enjoy the smooth, responsive interface and up-to-date weather information.

Screenshot 📸


Future Enhancements 🚧

  • 🌐 Add support for multiple languages.
  • 🗺️ Integrate a map to show weather in different locations.
  • 📊 Provide detailed weather forecasts for the week.

Contributing 🤝

Contributions are always welcome!
Feel free to fork the repository and create a pull request with your changes.


License 📜

This project is licensed under the MIT License.


Acknowledgements 🙏


Connect With Me 💬

If you have any questions or suggestions, feel free to reach out: