Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 1.44 KB

File metadata and controls

59 lines (33 loc) · 1.44 KB

Mobile phone Temperature Controller

This UI is designed to control the heating. It is using the Temperature Sensor and REST project API.

UI is a single page JavaScript webapp.

Technologies used to build it

  • ReactJS - the very awesome UI Framework from Facebook
  • Redux - state container for JavaScript apps
  • MaterialUI - reusable React components build according to Material design
  • Babel, ES6 - new version of JavaScript
  • Ramda - for some awesome functional programming
  • Webpack - for building the lot

"Mobile phone home screen"

How to run this?

First, grab some dependencies:

npm install

Than run:

npm start

You'll need to have a backend running.

By default, the UI assumes that the REST server providing Temperature sensor reading is deployed on the same host and port 8080

To change that, edit the lines in Home.js and scheduleActions.js.

And than rebuild!

Building distribution

Make sure you for the dependencies firs and than run :

npm run buildpack

It will build site.tgz in the root folder.