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