Check the current weather on any city on the planet. Switch between metric and imperial units.
-
Ability to search cities.
-
Displays current local time and date.
-
Temperatures and humidity.
-
Wind speed and direction.
-
Sunrise and sunset times.
-
Metric vs Imperial system.
-
Error handling and loading info.
-
git clone https://github.com/crankyhippo/weather-app.git
-
cd weather-app
-
npm install
-
Log-in to Openweathermap.com
-
Create an API key
-
cp .env.example .env.local
-
Paste API key for
OPENWEATHER_API_KEY
-
npm run dev
Any feature requests and pull requests are welcome!
The project is under MIT license.