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:
- Javascript
- NodeJs
- Bootstrap
- HTML
- CSS (SASS)
- OpenWeather API
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
- To clone a copy of this repo,
cd
into the directory you would want to save the repo and rungit clone git@github.com:cyonii/weather-app.git
- Once cloned, change into the cloned repo with
cd weather-app
to change into the project's directory. - Run
npm install
to install the project's dependencies. - Open
src/index.js
file and set the value of the variableapiKey
to your API key from OpenWeather. - Run
npm run serve
to start the application on your localhost - Head over to your browser and open
localhost:8080
to view app.
BUILD
- Run
npm run build
to bundle app intodist
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