Skip to content

JosephOri/Weather-App

Repository files navigation

Weather app

This is a simple weather app that uses the OpenWeatherMap API to get the weather data for a given city.

How to run the app

  1. Clone the repository
  2. Install the dependencies with npm install
  3. Create a .env file in the root of the project with the following content:
VITE_WEATHER_API_KEY=your_openweathermap_api_key
VITE_API_BASE_URL=https://api.openweathermap.org/data/2.5
  1. Run the app with npm run dev

Tech Stack

  • React
  • Vite
  • TailwindCSS
  • React Query
  • Axios
  • React Router
  • React Toastify
  • React Context Devtool
  • React Dark Mode Toggle
  • MUI

Features

  • Search for a city
  • View the weather data for the city
  • View the forecast for the city
  • View the current location
  • Dark mode
  • Responsive design

Live Demo

https://weather-app-josephori.netlify.app/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published