The Weather Application is a web-based application that provides real-time weather information for locations around the world. It is built using Node.js, Express.js, and utilizes the Bodiphaser module for rendering weather icons. The application leverages the OpenWeather API to fetch current weather data.
- Search for weather information of any location.
- Display the current weather conditions, including weather icons and temperature.
- User-friendly interface with a simple and intuitive design.
- Real-time updates for weather data.
- Clone the repository:
gh repo clone kavishankha/weather_app
- Install the required dependencies:
cd weather-app
npm install
- Sign up for an API key at OpenWeather and replace
<YOUR_API_KEY>
in theindex.js
file with your actual API key.
- Start the application:
npm start
-
Open your web browser and go to
http://localhost:3000
. -
Enter the name of the location you want to search in the search bar and click the "Search" button.
-
The application will display the current weather conditions for the entered location, including an appropriate weather icon and the temperature.
Contributions are welcome! If you have any ideas for improvements or encounter any issues, please open an issue or submit a pull request. Make sure to follow the project's code of conduct.
- The Weather Application utilizes the OpenWeather API to fetch weather data.
- The Bodiphaser module is used for rendering weather icons.
.