Skip to content

brukcodes/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 

Repository files navigation

Weather App

Simple web app to fetch and display real-time weather data for any city. Powered by OpenWeatherMap API. Made by Bruk Gentet (brukcodes).


[ FEATURES ]


- Search weather by city name
- Displays:
  • Temperature
  • Weather condition
  • Humidity
  • Wind speed
- Responsive UI
- Handles invalid city errors
- 5+ day forecast


[ REQUIREMENTS ]


- Node.js installed
- OpenWeatherMap API key

[ SETUP ]

Clone repo

git clone https://github.com/brukcodes/weather-app.git cd weather-app

Install dependencies

npm install

Create environment file

touch .env

Add your API key inside .env

REACT_APP_WEATHER_API_KEY=your_api_key_here

Start the app

npm start

Open in browser

http://localhost:3000


[ USAGE ]

  1. Enter a city name
  2. Press ENTER or click "Search"
  3. View weather details

[ STACK ]

  • React
  • OpenWeatherMap API
  • CSS

[ CONTRIBUTING ]

  1. Fork the repo
  2. Create a branch
  3. Commit changes
  4. Open Pull Request

[ LICENSE ]

MIT License


[ NOTES ]

  • Do NOT commit your .env file
  • Keep API keys private

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors