Skip to content

Codestronomer/WeatherBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather-app-node

Overview

This is a command-line interface (CLI) application that provides weather information based on user input. Users can query weather conditions for a specific location by entering the city name or ZIP code. The application utilizes a weather API to retrieve up-to-date weather data and presents it to the user in a user-friendly format.

Features

  • Current Weather: Get the weather conditions for a specified location.
  • Forecast: Retrieve a weather forecast for the next few days, including temperature, humidity, and precipitation.
  • Unit Conversion: Convert temperature between Celsius and Fahrenheit as per user preference.
  • Location Search: Search for weather data by city name or ZIP code.

Returns the current weather condition of the specified location or address

image

Setup

In your terminal:

$ git clone https://github.com/Codestronomer/Weather-app-node
$ cd weather-app-node
$ npm install

Usage:

$ node app.js
$ node app.js --help

Configuration

You can customize the application by setting your API key and unit as an environment variable. Here are the available configuration options:

  • mapboxkey: Your API key from the geocoding data provider (mapbox).
  • access_key: Your API key for the weather data provider (Weatherstack).

Credits

  • This application uses data from Weather. Review their terms of service and attribution requirements if you plan to deploy this application.
  • This application also gets geocoding data from Mapbox. Review their terms of service and attribution requirements if you plan to deploy this application

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request. We welcome contributions from the community.

Contact

If you have any questions or suggestions regarding this application, please contact us at Johnrumide6@gmail.com.

Happy weather checking! Re

About

A Weather CLI app built with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published