GithubHelp home page GithubHelp logo

sbrugel / biking-weather Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 318 KB

A React app that intakes a location name/area code, makes an API call to determine weather conditions, and tells if they are good for biking.

License: GNU General Public License v2.0

HTML 23.88% CSS 6.91% JavaScript 69.21%

biking-weather's Introduction

Biking Weather

...for lack of a better name.

A React app that intakes a location name/area code, makes an API call to determine weather conditions, and tells if they are good for biking.

The user has the ability to enter both location names and area codes to determine the weather/conditions in an area. The user is presented with the temperature (actual and feels-like), chance of rain (current and in the next hour), and humidity. The data is also highlighted in either green (good for biking) or red (not good).

Data is retrieved from WeatherAPI using the forecast endpoint.

chrome_nWLgOFaZkx chrome_UIxYpOBpIL

Setup

You will require an installation of node.js to run this application.

After you have cloned the repository locally:

  1. Get an API key from WeatherAPI. You only need the free tier for this program to work, so hit 'Get Started Free' and follow the rest of the setup.

  2. Take the config-template.json file in the src folder, rename it to config.json, and replace the current key value with your newly-received key.

  3. Install dependencies using npm i.

  4. Run the program by opening a terminal in the folder of this README and run npm start. This will open the application locally.

biking-weather's People

Contributors

sbrugel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.