Skip to content

Simple weather app created using React and OpenWeatherMap API to fetch weather data, built with Vite.

Notifications You must be signed in to change notification settings

jaswant04/weatherApp-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

This is a simple weather app created using React and OpenWeatherMap API to fetch weather data, built with Vite.

Features

  • Displays current weather conditions including temperature, humidity, wind speed, and weather description.
  • Allows users to search for weather information of different locations.
  • Responsive design, suitable for various screen sizes.

Installation

  1. Clone the repository: git clone

  2. Navigate to the project directory: cd weather-app

  3. Install dependencies: npm install

Usage

  1. Obtain an API key from OpenWeatherMap if you haven't already.

  2. Create a .env file in the root directory of the project.

  3. Add your API key to the .env file: VITE_API_KEY=your_api_key_here

  4. Start the development server: npm run dev

  5. Open your browser and navigate to http://localhost:5173/ to view the app.

Technologies Used

  • React
  • Vite
  • HTML/CSS
  • OpenWeatherMap API

About

Simple weather app created using React and OpenWeatherMap API to fetch weather data, built with Vite.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published