- Clone the repo and
cd
into its root. npm install
- Pulls in npm dependencies.bower install
– Pulls in Bower components.grunt server
– launches the demo, including sample backend service.
We've included a sample backend service for recieving feedback, which includes no persistence-- submissions are merely printed to the console.
The handler at /save accepts POST's of JSON data in a form that looks like:
[
{
"x": 1,
"y": 2,
"text": "this language is confusing"
},
{
"x": 3,
"y": 4,
"text": "Poor contrast!"
}
]
The only validation that(currently) occurs is that the submission is an array