An open API service indexing awesome lists of open source software.

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.

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