Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dudychmarian/the-weather

☀️ Find the weather in any city in the world using a convenient search
https://github.com/dudychmarian/the-weather

api css react weather weather-api

Last synced: about 1 month ago
JSON representation

☀️ Find the weather in any city in the world using a convenient search

Awesome Lists containing this project

README

        

# :umbrella: React Weather App
https://the-weather-dudychmarian.vercel.app/

A simple weather app that allows you to get current weather information, based on the city you are.

When you enter a city in the input field, you will have access to tips that you can select by clicking tabs, then click enter to select the city you need

## Installation

```sh
git clone [email protected]:DudychMarian/the-weather.git
cd the-weather
yarn
yarn start
```

## .env

- REACT_APP_WEATHER_TOKEN - your personal key from [weathermap api_keys](https://www.weatherapi.com/)
- REACT_APP_IP_INFO_TOKEN - your personal key from [ipinfo](https://ipinfo.io/account/home)

## Use Api

- get weather data from [weathermap api](https://www.weatherapi.com/)
- get user location data from [ipinfo.io](https://ipinfo.io/)

## Use Libs

- Change data format with [momentjs](https://momentjs.com/)
- Publish files on Vercel [vercel](https://vercel.com/)
- Pop-up messages on the page. Used to show errors [vercel-toast](https://vercel-toast.vercel.app/)
- A simple animated number for React [animated-number-react](https://github.com/Leocardoso94/animated-number-react)

![image](https://user-images.githubusercontent.com/62218468/138283071-cf3fccde-9bce-4971-aeed-eaaed4ad58d2.png)