Skip to content

godhaniyaarbham2000-spec/NodeJS-CLI-Project-Weather-Update-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌦️ Weather App CLI (Node.js Project)

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.


🚀 Features

  • 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

🛠️ Tech Stack

  • Node.js
  • JavaScript (ES Modules)
  • Weather API (OpenWeather or similar)
  • Fetch/Axios for API requests

📂 Project Structure

NodeJS-CLI-Project-Weather-Update/
│── weather.js
│── package.json
│── package-lock.json
│── .gitignore

⚙️ Installation

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

⚙️ Usage

Run the project:

node weather.js

💻 Example

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

⚠️ Notes

  • Enter valid city name for accurate results
  • Internet connection required
  • API must be working properly

📌 Future Improvements

  • Add 7-day forecast
  • Add search history
  • Auto location detection
  • Web version using React

👨‍💻 Author

Arbham Godhaniya
MERN Stack Developer

About

A simple Node.js CLI Weather Application that fetches real-time weather data by city name and displays temperature, weather condition, humidity, and wind speed in the terminal using a weather API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors