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 ]
git clone https://github.com/brukcodes/weather-app.git cd weather-app
npm install
touch .env
REACT_APP_WEATHER_API_KEY=your_api_key_here
npm start
[ USAGE ]
- Enter a city name
- Press ENTER or click "Search"
- View weather details
[ STACK ]
- React
- OpenWeatherMap API
- CSS
[ CONTRIBUTING ]
- Fork the repo
- Create a branch
- Commit changes
- Open Pull Request
[ LICENSE ]
MIT License
[ NOTES ]
- Do NOT commit your .env file
- Keep API keys private