This project is a simple weather application built with React, Vite, and Framer Motion. It allows you to view weather information for a specific city.
-
Clone the Project:
-
Install Dependencies:
Navigate to the project directory and install the dependencies:
cd weather-app npm install
-
Run the Project:
Start the project:
npm run dev
The project will run in your browser.
-
Enter the name of the desired city in the provided field.
-
Click the "Search" button.
-
Weather information for the selected city will be displayed.
-
React Components: This project utilizes React to create various components. For example, the main
WeatherApp
component uses theWeatherCard
. -
Vite Build System: Vite is used for faster loading and development.
-
Framer Motion: Framer Motion is used for animations and special effects in the UI.
-
OpenWeatherMap API: This API is used to retrieve weather information.
To make changes related to the weather API, you can replace your API key in the WeatherApp.js
file:
const ApiKey = "YOUR_API_KEY";