Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 859 Bytes

readme.md

File metadata and controls

31 lines (19 loc) · 859 Bytes

eGauge Visualizer

deployed app

Overview

This app leverages the eGauge home energy monitor API to create a mobile-friendly quick visualizer to give an overview of solar production and electricity consumption.

Architecture

Built with React.js Leverages chart.js for data visualization

Installation

  • git clone this repository
  • npm i
  • set your eGauge ID as the environment variable EGAUGE_ID, or use dotenv to do it for you.
  • if using dotenv, use the format EGAUGE_ID=XXXXXX

Testing

karma test runner

NPM Scripts

  • build webpack deployment script
  • watch webpack dev server script
  • test run all tests with karma
  • test-watch run tests on fs changes