• Frank Kumro's avatar
    Adds API for adding weather reports via JSON. · 870477f2
    Frank Kumro authored
    Also updates the landing page to display the latest weather report
    by inserted_at date. A database index is added to the inserted_at
    field to ensure when records grow, we are nice to the DB.
    In order to POST new weather data, both the weather station (Lake Effect)
    and this application need to hold the same API Key.
    Includes tests for the page controller and auth plug.
.formatter.exs 84 Bytes