A simple web application that fetches weather information based on the user's provided city name using the OpenWeatherMap API.
To run this project locally, follow these steps:
-
Clone the repository to your local machine:
-
Navigate to the project directory: git clone https://github.com/your-username/weather-app.git
-
Install the dependencies using npm or yarn: npm install
-
Start the development server for react: npm start
-
Start the development server for react: node server.js.
. Open your browser and visit http://localhost:3000 to see the app in action.
- Enter a city name and submit it to get weather information.
- Displays the city's name, temperature in Celsius, weather icon, wind speed, humidity, and weather description.
- React.js
- Axios
- OpenWeatherMap API
- NodeJS
- ExpressJS
src
: Contains the application source code with imagescomponents
: Contains React componentspublic
: Contains CSS styles and react file App.jsApp.js
: Main application componentindex.js
: Entry point of the application
This project was created as part of learning and practicing React.js and API integration.