Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (14 sloc) 0.389 kb

SURVEY API

To install dependencies

$ npm install

To set environment variables:

$ source ./sentenv_local.sh

Run with

$ node web.js

To test the API, use testclient.js:

$ node testclient.js seedforms
$ node testclient.js getform FORMID

See the testclient.js code for more.

We're also experimenting with using mocha for tests:

$ make test
Jump to Line
Something went wrong with that request. Please try again.