This project is a weather forecast web application that uses the WEATHER API to retrieve weather data of most cities around the world and present it to the user in response to their specific entry.
It was built to demonstrate the use of async/await and Promises in javascript to write asynchronous code as well as use fetch to retrieve data from an API.
-
HTML5
-
CSS3
-
Javascript
-
Node Package Manager (npm)
-
Webpack
-
OpenWeatherMap API
- Node Package Mangaer(npm) should be installed on your local machine.
-
Clone the repository to your local machine using
git clone git@github.com:RNtaate/Weather-App.git
-
On your local machine, navigate to the Weather-App folder using
cd Weather-App
in your terminal -
Run
npm install
to install all the necessary dependencies. -
Run
npm run build
-
Open the
index.html
file in your favorite browser, or copy its file path and paste it in your favorite browser.
There are two ways of contributing to this project:
-
If you see something wrong or not working, please check the issue tracker section, if that problem you met is not in already opened issues then open the issue by clicking on
new issue
button. -
If you have a solution to that, and you are willing to work on it, follow the below steps to contribute:
-
Fork this repository
-
Clone it on your local computer by running
git clone git@github.com:RNtaate/Weather-App.git
Replace RNtaate with the username you use on github -
Open the cloned repository which appears as a folder on your local computer with your favorite code editor
-
Create a separate branch off the master branch,
-
Write your codes which fix the issue you found
-
Commit and push the branch you created
-
Raise a pull request, comparing your new created branch with our original master branch here
-
👤 Roy Ntaate
- Github: @RNtaate
- Twitter: @RNtaate
- Linkedin: roy-ntaate
Give a ⭐️ if you like this project!
-
This project was originally taken from the Odin project.
-
This project was inspired by the Microverse program