Skip to content

This is a weather app built with React. It allows users to search for weather information by city name or by using their browser location. The app displays the current temperature, humidity, and 'feels like' temperature, along with an icon representing the current weather conditions.

Notifications You must be signed in to change notification settings

builtbysuraj/weather-app

Repository files navigation

Weather App using React.js

image

How to use it?

  • method 1: Enter a valid city name, press enter.
  • method 2: Allow location access in browser, click on Get Devide Locaion.
Prerequisites
  1. Node.js 17.0 +
  2. Api key of openweather

Clone this repo

git clone https://github.com/builtbysuraj/weather-app.git

Move to that folder

cd weather-app

Install dependencies

npm i

Create a .env file in the root of the folder and put your API key with the name VITE_API_KEY (e.g. below)

VITE_API_KEY=1a2b3c4d5e

Start the development server

npm run dev

Congratulation 🎉🎉

About

This is a weather app built with React. It allows users to search for weather information by city name or by using their browser location. The app displays the current temperature, humidity, and 'feels like' temperature, along with an icon representing the current weather conditions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published