/WeatherWebApp

A simple app that displays temperature and humidity in SAIT area of Calgary for the next 3 hours.

Primary LanguageJavaScript

Weather Web App

Introduction

This project demonstrates Node.js (Express) effectively to interact with a weather API and the client to display the hourly weather in Calgary (SAIT co-oordinate).

Get it running

This setup assumes you have an understanding of npm.

Download the zip file and unzip it in your local machine. Alternatively, you can execute the following on a terminal if you have git installed.

$ git clone https://github.com/karshh/WeatherWebApp.git

Go to DarkSky's page and login (or create an account if you haven't yet). Darksky's console will have your secret key at the top. Copy this key, open server.js, and scroll to the following line.

var key = ""; // enter your key here.

Paste your key in the quotes, save the file, and execute the following.

$ node server.js

A command line output will state the URL which the server is listening on. Go on chrome and open up this URL.