Skip to content
App to show the current weather where you are using React, the OpenWeatherAPI, and HTML5 Geolocation.
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.env
.gitignore
README.md
README2.md
package-lock.json
package.json

README.md

{React_Weather_App}

{App that users your current location to get the current weather. }, {9/28/2019}

By {Chris Underwood}

Description

_{The app uses the HTML5 Geolocation to obtain latitude and longitude data that is then send to the OpenWeatherAPI for the weather info. The react_geolocated npm package is used to for gathering the HTML Geolocation data. Axios is used for retreieving data from the OpenWeatherAPI. State and props are used to gather and share the data between the three components. User can switch between celsius and farenheit by clicking on the underlined temperature as well.

GeoLocation.js -> Fetching.js -> Display.js

}_

Setup/Installation Requirements

  • Copy the repo from Gitub
  • _Go to into the project folder where you wanted it saved _
  • run npm install
  • when this is done, run npm start
  • open your internet broswer to localhost:3000

{}

Known Bugs

{ The only 'bug' that I am aware of is there are 2 api calls that are done sequentially with the 2nd dependant on the 1st. That can cause a noticable delay. }

Support and contact details

{cunderwoodmn [at] gmail {dot} com}

Technologies Used

{React, OpenWeatherAPI, HTML5_Geolocation, CSS3, JavaScript, axios, react_geolocated, create-react-app, heroku }

License

*{Copyright (c) <2019>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.}*

Copyright (c) 2019 {Chris Underwood}

You can’t perform that action at this time.