Web Site to check the weather of the requested city!
Clone this repository and install it dependencies with this command:
npm install
Create a file .env in the root directory and insert into it two variables:
REACT_APP_MAPS_API_KEY = {YOUR_GOOGLE_MAPS_API_KEY}
REACT_APP_WEATHER_API_KEY = {YOUR_OPEN_WEATHER_API_KEY}
Run the application with npm start command, it will start the app on localhost:3000:
npm start
Functionality 1
: Render a input autocomplete from Places APIFunctionality 2
: Get latitude and longitude of the selected cityFunctionality 3
: Get weather infos of selected city through latitude and longitudeFunctionality 4
: Render weather infos and a arrow to go back to the main page
React
Hooks
Axios
Componentization