8000 GitHub - SilverGraph/Project-Weather-forecast: A single-page web application built on node.js with express.js that uses OpenWeather API to fetch weather conditions by city name.
[go: up one dir, main page]

Skip to content

A single-page web application built on node.js with express.js that uses OpenWeather API to fetch weather conditions by city name.

Notifications You must be signed in to change notification settings

SilverGraph/Project-Weather-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project-Weather-forecast

INSTA WEATHER

A single-page web application that uses OpenWeather API to fetch weather conditions in a JSON format when the user types the name of a city.

This JSON is then interpreted in the server-side and raw data is then sent to the client-side for the user to interpret.

Tech-Stack:

Client-side:

HTML5 CSS3 Bootstrap JavaScript jQuery

Server-side:

JavaScript Express.js

Project-management:

Git Markdown

Installing it on your local system:

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/<your_user_name>/Project-Weather-forecast.git

3. Navigate to the project directory 📁 .

cd Weather-forecast-project

4. Add all the files to be tracked by git

git add .

5. Install the required dependencies

npm install

6. Create a new branch.

git checkout -b <your_branch_name>

7. Make sure to add your own API key before initiating the server

const url = "https://api.openweathermap.org/data/2.5/weather?q=" + cityName + "&appid=" + <YOUR_API_KEY> + "&units=" + unit;

8. Track your changes:heavy_check_mark: .

git add . 

9. Commit your changes .

git commit -m "Relevant message"

10. Push the committed changes in your feature branch to your remote repo.

git push -u origin <your_branch_name>

11. To create a pull request, click on compare and pull requests.

12. Add appropriate title and description to your pull request explaining your changes and efforts done.

13. Click on Create Pull Request

P.S.: This is my first full-stack web application built on Node.js with Express.js and changes and improvements are welcome. Follow the above steps for contributing to this project.

About

A single-page web application built on node.js with express.js that uses OpenWeather API to fetch weather conditions by city name.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0