/Open_Weather_API

Web application that allows users to get the current weather conditions for any location by using the Open Weather API.

Primary LanguageJavaScriptMIT LicenseMIT

Weather App

By Trent Dietzel

Table of Contents

About

The Weather App allows users to get the current weather conditions for a location by entering the city name or the city and state separated by a comma. It provides information such as temperature, humidity, daily high and low, and wind speed.

Demo

You can try out the live demo of the Weather App here (Not Working ATM).

Technologies Used

  • HTML
  • CSS (Bootstrap for styling)
  • JavaScript
  • NPM (Node Package Manager): for package management
  • OpenWeatherMap API: for weather data
  • Lint: for code quality and style checking
  • Webpack: for bundling and building the project
  • Jest: for testing the JavaScript code

Features

  • Get Weather Conditions: Enter a city name or city and state to retrieve current weather information.

Installation

Follow these steps to set up the project locally:

  1. Open Git BASH Download Link
  2. Clone the repository to your local machine:
    git clone https://github.com/tdietzel22/Open_Weather_API
  3. Open the project directory:
    cd Open_Weather_API
  4. Open in a code editor like Visual Studio Code.
  5. Open the VS Code terminal and enter this command to install needed dependencies:
    npm install dotenv-webpack@8.0.1 --save-dev
  6. The run once installed to view in browser or to use for further development:
    npm run start

Usage

To use the Weather App:

  1. Visit the website here (Not Working) or Install using steps above.
  2. Enter a location (city name or city, state) in the input field.
  3. Click the "Get Current Temperature and Humidity" button.
  4. View the weather information displayed on the page.

Contributing

I welcome contributions to improve the project. If you'd like to contribute, please follow these guidelines:

  1. Fork the project repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and test thoroughly.
  4. Commit your changes with a descriptive commit message.
  5. Push your branch to your forked repository.
  6. Create a pull request to the main repository.

Known Bugs

  • Demos not working

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions, suggestions, or inquiries, please contact Trent Dietzel at dietzelbiz@outlook.com.