Skip to content

My project is a weather station website that utilizes OpenWeatherMap API to provide real-time weather updates and forecasts for any given location. This website can be used to quickly obtain weather information for any location worldwide.

Denisomondi/WeatherStation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Weather Station

My project is a weather station website that utilizes OpenWeatherMap API to provide real-time weather updates and forecasts for any given location. This website can be used to quickly obtain weather information for any location worldwide.

Features

  • Displays the current weather conditions for the specified
  • location, including temperature, humidity, wind speed, and more.
  • Provides a 5-day weather forecast for the location, including high and low temperatures, humidity, and weather conditions.
  • Allows users to search for weather information for any location worldwide.

Installation

To install this project, please follow these steps:

1.Clone the repository to your local machine using Git.

2.Install any necessary dependencies by running the npm install command.

3.Obtain an API key from OpenWeatherMap.

4.Create a file called config.js in the root directory of the project and add the following code, replacing YOUR_API_KEY_HERE with your OpenWeatherMap API key:

 const config = {
  API_KEY: 'YOUR_API_KEY_HERE'
}
  1. Open the html file in the browser.

Usage

To use this weather station website, follow these steps:

  • Open the index.html file in your web browser.
  • Enter the name of the location you want to search for in the search bar.
  • Click the "Search" button to retrieve weather information for the location.
  • The current weather conditions and 5-day weather forecast for the location will be displayed.

Troubleshooting

If you encounter any issues with the weather station website, try the following troubleshooting tips:

  • Make sure your internet connection is stable.
  • Check that your OpenWeatherMap API key is valid and correctly configured in the config.js file.
  • Try clearing your browser's cache and refreshing the page.
  • Check the console for any error messages.

Contributing

Contributions to this weather station website are welcome!

If you have any suggestions, bug reports, or feature requests, please open an issue on the GitHub repository or submit a pull request.

License

This weather station website is licensed under the MIT License. See the LICENSE file for more information.

About

My project is a weather station website that utilizes OpenWeatherMap API to provide real-time weather updates and forecasts for any given location. This website can be used to quickly obtain weather information for any location worldwide.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published