A simple weather application built with Node.js, Express, and Handlebars (HBS). It fetches real-time weather data using the Geoapify Geocoding API and Weatherstack API. The app is deployed and running live on Render.
- Search any location to get the current weather.
- Clean and responsive UI using Handlebars templating.
- Graceful error handling for failed API requests.
- Node.js
- Express
- Handlebars (HBS)
- Geoapify API (for location/geocoding)
- Weatherstack API (for weather forecast)
- Render (for deployment)
-
Clone the repository
git clone https://github.com/siddhant197/node-weather-app.git cd node-weather-app
-
Install Dependencies
npm install
-
Create Environment Variables
touch .env Add below lines with keys GEO_API_KEY=your_api_key WEATHER_API_KEY=your_weatherstack_api_key
-
Run the App
npm start By default, it runs on: **http://localhost:3000**
This project is licensed under the MIT License.