A simple command-line Weather Application built using Node.js.
This project allows users to get real-time weather information by entering a city name directly in the terminal.
- Get real-time weather data by city name
- Displays temperature, weather condition, humidity, and wind speed
- Simple CLI-based interaction
- Fast API response
- Beginner-friendly Node.js project
- Node.js
- JavaScript (ES Modules)
- Weather API (OpenWeather or similar)
- Fetch/Axios for API requests
NodeJS-CLI-Project-Weather-Update/
│── weather.js
│── package.json
│── package-lock.json
│── .gitignore
Clone the repository:
git clone https://github.com/godhaniyaarbham2000-spec/NodeJS-CLI-Project-Weather-Update.git
Go to project folder
cd NodeJS-CLI-Project-Weather-Update
Install dependencies:
npm install
Run the project:
node weather.js
Enter a city name to get its weather: porbandar
Weather Information:
City: Porbandar
Temperature: 30.7 °C
Description: clear sky
Humidity: 59%
Wind Speed: 6.1 m/s
- Enter valid city name for accurate results
- Internet connection required
- API must be working properly
- Add 7-day forecast
- Add search history
- Auto location detection
- Web version using React
Arbham Godhaniya
MERN Stack Developer