https://github.com/yuvraj0028/node-cli-weather-app
Get weather details for any location in your console.
https://github.com/yuvraj0028/node-cli-weather-app
http javascript nodejs weather
Last synced: 6 months ago
JSON representation
Get weather details for any location in your console.
- Host: GitHub
- URL: https://github.com/yuvraj0028/node-cli-weather-app
- Owner: yuvraj0028
- Created: 2023-10-05T16:26:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-06T07:09:07.000Z (over 2 years ago)
- Last Synced: 2025-04-04T18:47:10.786Z (10 months ago)
- Topics: http, javascript, nodejs, weather
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Realtime Weather App
A command-line weather app which can display real-time weather data for any location on earth. It is built using Node modules and APIs like WeatherStack.
## GET API KEY
Create an account on Weather Stack and get thier free API key, paste the API key in utils/forecast.js where "weatherUrl" is defined and you are done.
## Run Locally
Clone the project
```bash
git clone https://github.com/yuvraj0028/command-line-weather-app.git
```
Go to the project directory
```bash
cd command-line-weather-app
```
Install dependencies
```bash
npm install
```
Run command
```bash
node app.js get --location="{Your Location}"
```
## Tech Used
**npm modules** - postman-request, yargs
**client** - NodeJS