Skip to content

A node.js application to check weather by simply providing the address using cli.

Notifications You must be signed in to change notification settings

jainayu/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weather-app

A node.js application to check weather by simply providing the address using cli.

Here I am using different npm library i.e postman-request to fetch data from two different APIs, Mapbox (to fetch the coordinates of the provided address) and Weather stack (to fetch the weather on the provided coordinates)

By this section, I explored the asynchronous nature of Node.js. I learnt how to use asynchronous programming to make HTTP API requests to third-party HTTP APIs. This allowed me to pull in data, like real-time weather data, into my app.

Steps to install:

1. Clone the application using

git clone https://github.com/jainayu/weather-app

2. Change the directory using

cd notes-app

3. Install the application using

npm install

How to Use:

node app.js "your address"

Example

node app.js India

and for address with spaces you can enter

node app.js "New York"

About

A node.js application to check weather by simply providing the address using cli.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published