Skip to content

djacoby/react-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Version

React/ Express Weather

Weather Application

React Express.js Node.js

  • Build: 1.0.0
  • License: MIT
  • Author: David Jacoby

amico log

About

This is single page weather application that generates a current weather report, and five day weather report based off the users location. On page load for the app the user is prompted to allow the app to get their geolocation using the Navigator api. If the user accepts then an api call is made to open weather map using their latitude and longitude to return the data. If they decline the app makes an api using the default zip code (10001 for New York City). The user then may enter any valid zip code to receive the weather reports for the given zip code.

Setup

  • Clone this repo to your local machine using https://github.com/jacoby934/react-weather.git
  • cd into the repo and install packages for the backend
$ cd react-weather
$ npm install
  • cd into client to install npm packages
$ cd client
$ npm install
  • cd out of client into root directory of project and type run command
$ cd ..
$ npm run dev

Support

Reach out to me at one of the following places!

Dependencies

Dev Dependencies

  • concurrently 5.2.0
  • nodemon 2.0.4

Server

  • axios 0.19.2
  • config 3.3.1
  • cors 2.8.5
  • express 4.17.1

Client

  • axios 0.19.2
  • react 16.3.0
  • react-dom 16.13.0
  • react-feather 2.0.3
  • react-scripts 3.4.0
  • serve 11.3.0

License

License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published