/weather-app

This is a weather app that lets users search and get updated with the weather info of a particular place.

Primary LanguageJavaScriptMIT LicenseMIT

Weather App ☁️

Description

Weather App - is a web application that lets users search for the current weather information of a given location.

Built

This application is built using the following tools and libraries:

Live Demo

You can check out a live demo of this application here

Usage

To get weather update: Type in the location you'd want to search and hit the Search button. The app will fetch the weather info of the given location and display it on the browser, or an error message incase of an error.

Getting Started

To get a copy of this application in your local machine up and running please follow this step-by-step instructions below.

Prerequisites

  • Make sure you have node.js installed on your local machine.
  • You will need to sign up for the OpenWeather API key here

Open your terminal and follow the instructions below.


With Node.js and cli

  1. To clone a copy of this repo, cd into the directory you would want to save the repo and run git clone git@github.com:cyonii/weather-app.git
  2. Once cloned, change into the cloned repo with cd weather-app to change into the project's directory.
  3. Run npm install to install the project's dependencies.
  4. Open src/index.js file and set the value of the variable apiKey to your API key from OpenWeather.
  5. Run npm run serve to start the application on your localhost
  6. Head over to your browser and open localhost:8080 to view app.
BUILD
  • Run npm run build to bundle app into dist folder.

Without Node.js

  • Download and unpack this repo from Github - .zip file.
  • Navigate into the unpacked project's directory
  • Find and open the dist/index.html file in your browser

Authors

CY Kalu 👤

Contributing 🤝

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

The Odin Project