/weather-app

Primary LanguageVueMIT LicenseMIT

Weather App

A simple weather app built with Vue 3 and Axios.

Description

The Weather App allows users to search for weather information by city name or zip code. It retrieves data from the WeatherAPI and displays the current weather conditions including temperature, wind speed, pressure, humidity, and visibility.

Features

  • Search for weather information by city name or zip code.
  • Display current weather conditions including temperature, wind speed, pressure, humidity, and visibility.
  • Automatically fetch initial weather data on page load.

Technologies Used

  • Vue 3: A progressive JavaScript framework for building user interfaces.
  • Axios: A promise-based HTTP client for making API requests.
  • Bootstrap: A popular CSS framework for building responsive and mobile-first websites.
  • WeatherAPI: A free weather API for retrieving weather data.

Installation

  1. Clone the repository:

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

    cd weather-app
  3. Install dependency & Run the development server:

    npm install && npm run dev
    
    

Usage

Enter a city name or zip code in the search input field. Click the "Search" button to fetch and display the weather information for the entered location. The current weather conditions will be shown, including temperature, wind speed, pressure, humidity, and visibility.

Contributing Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License This project is licensed under the MIT License. Feel free to modify and customize the README file to suit your specific project needs.