React-Geo-Weather is a simple, interactive weather app built using React, Leaflet, and OpenWeatherMap. It allows users to click anywhere on the map and get basic weather data for that location.
This app is a bare-bones version that serves as an example of how to use React-Leaflet and OpenWeatherMap to build a weather app. It's the same skeleton that powers geo-weather.xyz and is a great starting point for any React weather app.
For a full feature Weather app, check out https://geo-weather.xyz/
- Interactive map powered by Leaflet : https://react-leaflet.js.org/
- Weather data from the OpenWeatherMap API : https://openweathermap.org/
- Click on any location on the map to get basic weather data.
- Clone the repository to your local machine.
- Enter your API key in the src/weather.js file.
- Run npm start to start the app.
Here's a screenshot of what the app looks like in action: