Skip to content

Nikhil7028/Weather-app-react

Repository files navigation

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Weather App

Welcome to the Weather-app-react repository! This project is a web application that provides weather information about any location. It utilizes HTML, CSS, and react to deliver a user-friendly interface and fetches data using the OpenWeatherMap API.

Technologies Used

Additional information

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

Installation

  1. Clone the repository:
 git clone https://github.com/Nikhil7028/Weather-app-react.git
  1. Navigate to the project directory:
cd Weather-app-react
  1. Change API key which conatin in src/WeatherImg.js
'API_KEY': "Your-API-key"
  1. Install Meterial UI and Icons using following commands
npm install @mui/material @emotion/react @emotion/styled
npm install @mui/icons-material
  1. Open index.html in your browser to view the project.
  2. Run the app using following command
npm run dev

Usage

To use the Weather App, simply enter the name of the city in the search bar and press enter. The app will display the current weather conditions, including temperature, humidity, min temp, max temp, and more.

Note :- All the link of images and API_URL are used in the app are store in src/WeatherImg.js

About

Developed the weather app using react

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published