Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

fromflux/forecast-prototype

Repository files navigation

fromflux/forecast-prototype

This is the source code for the app prototype available here.

Installation

npm install

Register with OpenWeatherMap and add the following to a file named .env at the root directory of the project

API_KEY=<YOUR OPEN WEATHER API KEY>

Development Server

# start local development server
npm start

# open in your browser
http://localhost:3000/

Running tests

npm test

Build for production

npm build

Generates bundle in public directory

Production server

Add environment variable NODE_ENV=production and run

node server.js

TODOS

  • Complete test coverage
  • Implement responsive layout
  • Custom weather icons / Map API icon codes
  • Store selected location locally
  • Create today forecast view
  • Allow for multiple stored locations

License

Copyright (c) 2017 Rod Melo

GPL-3.0 (https://opensource.org/licenses/GPL-3.0)

Releases

No releases published

Packages

No packages published