This is an Express.js weather web application that fetches real-time weather data using the OpenWeatherMap API. The application displays current weather conditions for a specified location.
- Fetches current weather data from the OpenWeatherMap API.
- Displays weather information including temperature, humidity, wind speed, and weather description.
- Simple and user-friendly interface.
- Clone the repository:
git clone https://github.com/jayantsingh-22/weather-app.git
- Navigate to the project directory:
cd weather-app
- Install the dependencies:
npm install
- Start the server:
node server.js
- Open your browser and navigate to
http://localhost:3000
.
- The application uses the OpenWeatherMap API. You need to obtain an API key from OpenWeatherMap and replace
YOUR_API_KEY
in theserver.js
file.
- Express
- Axios (for making API requests)
- Node.js
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributions are welcome! Please open an issue or submit a pull request.
Check out the live demo here.