Weather App

Weahter app. This app is using OpenWeatherMap API and Leaflet maps

Version

Version 1.0.0

Features

  • Get the weather of a city.
  • Get the weather for the current position.

Perspectives

Env

  node -v
  v12.14.1
  npm -v
  6.13.4

Setup

  1. Clone the project:
git colne https://github.com/Metourni/weather-app.git
  1. Install dependencies:

If you're using npm to install packages:

npm install
  1. Config the environment :
// In the file : src/config/index.js
  api:{
      baseUrl:"https://api.openweathermap.org/data/2.5",
      key:'17471c917c6ad55d3458d15b0d074941'
    }
  1. Run the project:
npm start

Build & serve

  1. To build
  npm run build
  1. To build
  npm run serve

Screens

License

[Leaflet maps] [https://react-leaflet.js.org/docs/en/examples]
[OpenWeatherMap API] [https://openweathermap.org/current]