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.
You can try out the live demo of the Weather App here (Not Working ATM).
- 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
- Get Weather Conditions: Enter a city name or city and state to retrieve current weather information.
Follow these steps to set up the project locally:
- Open Git BASH Download Link
- Clone the repository to your local machine:
git clone https://github.com/tdietzel22/Open_Weather_API
- Open the project directory:
cd Open_Weather_API
- Open in a code editor like Visual Studio Code.
- Open the VS Code terminal and enter this command to install needed dependencies:
npm install dotenv-webpack@8.0.1 --save-dev
- The run once installed to view in browser or to use for further development:
npm run start
To use the Weather App:
- Visit the website here (Not Working) or Install using steps above.
- Enter a location (city name or city, state) in the input field.
- Click the "Get Current Temperature and Humidity" button.
- View the weather information displayed on the page.
I welcome contributions to improve the project. If you'd like to contribute, please follow these guidelines:
- Fork the project repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test thoroughly.
- Commit your changes with a descriptive commit message.
- Push your branch to your forked repository.
- Create a pull request to the main repository.
- Demos not working
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions, suggestions, or inquiries, please contact Trent Dietzel at dietzelbiz@outlook.com.