alexpanov / 3c

Coldest Canadian Cities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3C: Coldest Canadian Cities

Yo guys!

This app provides data about current coldest canadian cities. The app collects weather information for 350+ cities as small as 3000 inhabitants.

Current weather for each city is updated roughly once per hour. More specifically, the oldest piece of data is updated every 10 seconds.

Live App

Browser App

You can check out the app at http://coldest-canadian-cities.herokuapp.com.

As the new data comes in, the map updates in a reactive manner.

API

The data is also available through an HTTP API at $API_HOST/cities/coldest/current.

Data Sources

Default

By default, the app uses OpenWeatherMap API.

Alternative

There is also an alternative data source ready for scraping Government of Canada's weather information.

The code lives here.

It uses Chromeless deployed on AWS Lambda.

Running Locally

Requirements

  1. Install the dependencies via npm i or yarn.
  2. Execute meteor.

About

Coldest Canadian Cities


Languages

Language:JavaScript 81.6%Language:CSS 14.6%Language:HTML 3.8%