Skip to content
Simple Form Example for submitting data to Initial State through html form.
JavaScript HTML
Branch: master
Clone or download
Latest commit 3125a24 Nov 25, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Nov 25, 2015
README.md updated readme Nov 25, 2015
package.json initial commit Nov 25, 2015
server.js initial commit Nov 25, 2015
simple_form.html initial commit Nov 25, 2015

README.md

#Simple HTML Form

This is a simple example of using an HTML form to submit data to a nodejs server app that then sends the data to Initial State.

The reason this app uses an intermediary nodejs server instead of submitting directly to Initial State is to give the implementer control over the exposure of his/her Initial State Access Key.

###To Run

$ npm install

$ INITIALSTATE_ACCESS_KEY=YOURKEY PORT=3000 npm start

Then navigate to localhost:3000/temperature and submit temperatures

You can’t perform that action at this time.