Weahter app. This app is using OpenWeatherMap API and Leaflet maps
Version 1.0.0
- Get the weather of a city.
- Get the weather for the current position.
node -v
v12.14.1
npm -v
6.13.4
- Clone the project:
git colne https://github.com/Metourni/weather-app.git
- Install dependencies:
If you're using
npm
to install packages:
npm install
- Config the environment :
// In the file : src/config/index.js
api:{
baseUrl:"https://api.openweathermap.org/data/2.5",
key:'17471c917c6ad55d3458d15b0d074941'
}
- Run the project:
npm start
- To build
npm run build
- To build
npm run serve
[Leaflet maps] [https://react-leaflet.js.org/docs/en/examples]
[OpenWeatherMap API] [https://openweathermap.org/current]