Skip to content
☔️ Weather Web App
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
views
.gitignore
README.md
app.js
package-lock.json
package.json

README.md

Web-weather

Global weather search app

Live demo here: https://wet-socks.herokuapp.com/

A Nodejs based web application that interacts with Google Maps and Dark Sky

What it does, and what it should be able to do:

  • Get weather by address
  • Reject bad addresses
  • Get the weather using geolocation

Install

  • Clone repo $ git clone https://github.com/sssmi/node-weather-app.git

  • Install the dependencies $ npm install

  • To access a Dark Sky API, Create a new account at https://darksky.net/dev/

  • To access a Google Maps Geocoding API, go to: https://console.cloud.google.com/google/maps-apis/apis and create a new API key

  • Create a .env file in the project's folder and paste your keys:

  • DARKSKY_KEY=keyhere123
    GOOGLE_KEY=keyhere123
    
### Fire up

* `$ nodemon app.js`
* Then open `http://localhost:3000` in your browser
You can’t perform that action at this time.