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.
- Host: GitHub
- URL: https://github.com/cmirnow/openweathermap-react-app
- Owner: cmirnow
- Created: 2022-10-12T05:31:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T04:05:19.000Z (2 months ago)
- Last Synced: 2025-03-07T04:29:27.047Z (2 months ago)
- Topics: create-react-app, geolocation, javascript, openweathermap, reactjs-components, vantajs
- Language: JavaScript
- Homepage: https://masterpro.ws/api-openweathermap-w3c-geolocation-api-reactjs
- Size: 6.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.