Description: The web application allows users to monitor power consumption, register Wi-Fi controllable
devices and remotely control devices over Wi-Fi using a user interface.
This web application consists of a RESTful API developed in Node.js using the Express Framework for database interaction, a web server for serving files, and employs the Web- Socket protocol for full-duplex real-time data streaming with minimal overhead.
The Node.js web application running on the Intel Edison polls an SQLite database contain- ing power data with a single thread and pushes real-time data to all connected web clients using the WebSocket protocol.
The web application uses Mustache.js as a client-side templating engine, uses client-side form validation, and employs AJAX to reduce CPU load on the Intel Edison and minimize network tra c.
To Search:
File list (Check if you may need any files):
WebApplication
WebApplication\.DS_Store
WebApplication\app.js
WebApplication\Database
WebApplication\Database\.DS_Store
WebApplication\Database\createDeviceTable.py
WebApplication\Database\createMeasurementTable.py
WebApplication\Database\Devices.db
WebApplication\Database\MeasurementData.db
WebApplication\database.js
WebApplication\index.html
WebApplication\main.js
WebApplication\node_modules
WebApplication\node_modules\.bin
WebApplication\node_modules\.bin\mime
WebApplication\node_modules\.bin\mkdirp
WebApplication\node_modules\.DS_Store
WebApplication\node_modules\accepts
WebApplication\node_modules\accepts\HISTORY.md
WebApplication\node_modules\accepts\index.js
WebApplication\node_modules\accepts\LICENSE
WebApplication\node_modules\accepts\package.json
WebApplication\node_modules\accepts\README.md
WebApplication\node_modules\after
WebApplication\node_modules\after\.npmignore
WebApplication\node_modules\after\.travis.yml
WebApplication\node_modules\after\index.js
WebApplication\node_modules\after\LICENCE
WebApplication\node_modules\after\package.json
WebApplication\node_modules\after\README.md
WebApplication\node_modules\after\test
WebApplication\node_modules\after\test\after-test.js
WebApplication\node_modules\append-field
WebApplication\node_modules\append-field\.npmignore
WebApplication\node_modules\append-field\index.js
WebApplication\node_modules\append-field\lib
WebApplication\node_modules\append-field\lib\parse-path.js
WebApplication\node_modules\append-field\lib\set-value.js
WebApplication\node_modules\append-field\LICENSE
WebApplication\node_modules\append-field\package.json
WebApplication\node_modules\append-field\README.md
WebApplication\node_modules\append-field\test
WebApplication\node_modules\append-field\test\forms.js
WebApplication\node_modules\array-flatten
WebApplication\node_modules\array-flatten\array-flatten.js
WebApplication\node_modules\array-flatten\LICENSE
WebApplication\node_modules\array-flatten\package.json
WebApplication\node_modules\array-flatten\README.md
WebApplication\node_modules\arraybuffer.slice
WebApplication\node_modules\arraybuffer.slice\.npmignore
WebApplication\node_modules\arraybuffer.slice\index.js
WebApplication\node_modules\arraybuffer.slice\Makefile
WebApplication\node_modules\arraybuffer.slice\package.json
WebApplication\node_modules\arraybuffer.slice\README.md
WebApplication\node_modules\arraybuffer.slice\test
WebApplication\node_modules\arraybuffer.slice\test\slice-buffer.js
WebApplication\node_modules\backo2
WebApplication\node_modules\backo2\.npmignore
WebApplication\node_modules\backo2\component.json
WebApplication\node_modules\backo2\History.md
WebApplication\node_modules\backo2\index.js
WebApplication\node_modules\backo2\Makefile
WebApplication\node_modules\backo2\package.json
WebApplication\node_modules\backo2\Readme.md
WebApplication\node_modules\backo2\test
WebApplication\node_modules\backo2\test\index.js
WebApplication\node_modules\base64-arraybuffer
WebApplication\node_modules\base64-arraybuffer\.npmignore
WebApplication\node_modules\base64-arraybuffer\.travis.yml
WebApplication\node_modules\base64-arraybuffer\grunt.js
WebApplication\node_modules\base64-arraybuffer\lib
WebApplication\node_modules\base64-arraybuffer\lib\base64-arraybuffer.js
WebApplication\node_modules\base64-arraybuffer\LICENSE-MIT
WebApplication\node_modules\base64-arraybuffer\package.json
WebApplication\node_modules\base64-arraybuffer\package.json~
WebApplication\node_modules\base64-arraybuffer\README.md
WebApplication\node_modules\base64-arraybuffer\README.md~
WebApplication\node_modules\base64-arraybuffer\test
WebApplication\node_modules\base64-arraybuffer\test\base64-arraybuffer_test.js
WebApplication\node_modules\base64id
WebApplication\node_modules\base64id\.npmignore
WebApplication\node_modules\base64id\lib
WebApplication\node_modules\base64id\lib\base64id.js
WebApplication\node_modules\base64id\package.json
WebApplication\node_modules\base64id\README.md
WebApplication\node_modules\basic-auth
WebApplication\node_modules\basic-auth\HISTORY.md
WebApplication\node_modules\basic-auth\index.js
WebApplication\node_modules\basic-auth\LICENSE
WebApplication\node_modules\basic-auth\package.json
WebApplication\node_modules\basic-auth\README.md
WebApplication\node_modules\benchmark
WebApplication\node_modules\benchmark\benchmark.js
WebApplication\node_modules\benchmark\doc
WebApplication\node_modules\benchmark\doc\README.md
WebApplication\node_modules\benchmark\LICENSE.txt
WebApplication\node_modules\benchmark\package.json
WebApplication\node_modules\benchmark\README.md
WebApplication\node_modules\benchmark\test
WebApplication\node_modules\benchmark\test\run-test.sh