Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
cfg
src
test
.babelrc
.editorconfig
.eslintrc
README.md
karma.conf.js
package.json
server.js
webpack.config.js

README.md

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.