Skip to content

rahimratnani/weather-app

Repository files navigation

Weather App

Screenshot

👉 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.

Features

  • 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.

Run It Locally

Prerequisites

How to use

# 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

Technologies Used

License

MIT License