An open API service indexing awesome lists of open source software.

https://github.com/dipeshdimi/openweather


https://github.com/dipeshdimi/openweather

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Weather Application
Live Deployment: https://open-weather-kappa.vercel.app/

## Features
- OpenWeatherMap API
- React Query Caching
- API Polling
- React Context API
- Error Handling
- Celsius & Fahrenheit conversions
- Last searched city in localStorage
- CSS Modules
- Responsiveness
- Functional Components
- Vite

## Installation & Usage

To get started with this project, you'll need to install it locally on your machine. Follow these steps:

1. Clone the repository:

```bash
git clone https://github.com/dipeshdimi/OpenWeather.git
```

2. Navigate to the project folder:

```bash
cd OpenWeather
```

3. Install dependenncies:

```bash
npm install
```

6. Create a .env file in the root directory and provide the OpenWeather API key (test key provided):

```bash
VITE_OPENWEATHER_API_KEY=bd5e378503939ddaee76f12ad7a97608
```

7. Run the frontend application:

```bash
npm run dev
```

13. Visit http://localhost:5173/ to use the application.