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

https://github.com/cmirnow/openweathermap-react-app

A simple react-app to display the current weather using geotargeting of the website visitor.
https://github.com/cmirnow/openweathermap-react-app

create-react-app geolocation javascript openweathermap reactjs-components vantajs

Last synced: 2 months ago
JSON representation

A simple react-app to display the current weather using geotargeting of the website visitor.

Awesome Lists containing this project

README

        

# OpenWeatherMap React App

Simple application to display the current weather OpenWeatherMap. The browser needs permission to define Geo-Targeting.

[Demo](https://cmirnow.github.io/OpenWeatherMap-React-App). [Description (in Russian)](https://masterpro.ws/api-openweathermap-w3c-geolocation-api-reactjs).

## Quickly start

```
$ git clone https://github.com/cmirnow/OpenWeatherMap-React-App
$ cd OpenWeatherMap-React-App
$ touch .env && echo -e "REACT_APP_WEATHER_API_KEY = xxxxxxxxxxxxxxxxxxxxx\nHTTPS = true" > .env
$ npm install
$ npm start
```

NB. The first version of the app (picture-background) is available [here](https://github.com/cmirnow/OpenWeatherMap-React-App/tree/f70df2d2ecaeede6fd9278d74ff8aa1c6312d0bb). Next is the version with vanta.js.