GithubHelp home page GithubHelp logo

jlove-dev / react-weather-app Goto Github PK

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

Simple weather application using ReactJS which shows a 7-day forecast for a zip code.

HTML 13.87% CSS 7.50% JavaScript 78.63%
weather react javascript forecast

react-weather-app's Introduction

Simple Weather App

Screenshot

Getting Started

Requirements

Node.js & NPM -> Should be installed together (https://nodejs.org/en/download/)

Running

Start by either downloading this project or forking it. Then, change directories into the location on your local machine.

Open a terminal and run the following to install dependencies:

npm install

You can then run the development server with:

npm start

Open http://localhost:3000 to view it in the browser.

ReactJS development server supports hot-reload so if you make any changes, they will automatically populate in the browser.

Usage

Once the development server is running and you've navigated to http://localhost:3000, you can enter your zip code and hit submit.

Understanding

Upon submitting a Zip Code, the application makes a request to USGS to convert the zipcode to latitude/longitude data. That data is then sent off to 7timer for a simple 7-day weather forecast which is then displayed in the cards.

Caution

The provided services here utilize public APIs without keys. Please be respectful of these free services and don't abuse these privileges. Functionality of the app is subject to change at any time if the underlying APIs change.

Attributions

This project was bootstrapped with Create React App.
Zip Code data provided by USGS
Weather data provided by 7timer
Icons provided by Icons8

react-weather-app's People

Contributors

jlove-dev 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.