👉 See it live here
A weather app that shows current weather for a city. It uses OpenWeatherMap API to fetch current weather. It can show weather in two units (celsius and fahrenheit). It can also fetch weather based on your location if location service is enabled in your browser.
- Displays current weather data for the given city name.
- Displays current weather data based on user's location.
- Weather data can be viewed in two different units (celsius and fahrenheit).
- Shows different icon for different weather conditions.
- You'll need an API key from OpenWeather.
# Clone this repository
$ git clone [email protected]:rahimratnani/weather-app.git
# Go into the repository
$ cd weather-app
# Install dependencies
$ npm install
# Rename .env.example file to .env and open it.
# Add your API key
# Start the application
$ npm start