Installing app : npm install
Start the app with node app.js
Load main bulb page: localhost:8080
Turn Bulb ON: curl localhost:8080/stateOn
Turn Bulb OFF: curl localhost:8080/stateOff
basic application to turn a bulb on/off with realtime feedback. Used to simulate a electric car charging station controlled by a blockchain.
JavaScriptMIT