Skip to content

A super Simple website which displays the current temperature, weather of any given city!

Notifications You must be signed in to change notification settings

yashsdoshi/Live_Weather_Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

:octocat: Live Weather Website using Openweather API

The Website allows user to select any city and get the temperature, weather and an icon indicating the current weather back.

Note from Owner

  • I have not worked much on css and html for simplicity.
  • This website will give you a clear understanding of how Openweather API works!

This is a simple website made using,

  1. Node.js
  2. express.js
  3. Body-parser Module
  4. HTTPS Module

:octocat: To install modules and frameworks

Run the commands from below in your vs-code project folder terminal.

  npm i node
  npm i express
  npm i body-parser

The https is local in node so you dont have to separately download it.

:octocat: Cloning this repo(Terminal Version):

  • Run the following command:
git clone 'https://github.com/yashdoshi12/Live_Weather_Website.git' 
  • cd to the cloned folder:
cd Blog_Website_Without_Database
  • Install required npm pakages
npm i

:octocat: Using Openweather API:

  1. Create a free account at -- https://openweathermap.org/
  2. Fllow the documentation for generating API key and further elaboration -- https://openweathermap.org/current

:octocat: Example prewview of website:

Screenshot 2022-12-31 145252

:octocat: Output of above example(After clicking on Go! Button):

Screenshot 2022-12-31 145940

:octocat: Note:

I made this website while learning Full-Stack Web Development and please feel free to suggest any changes. Thanks!



Don't forget to leave a star ⭐️