Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

API for the Detroit Neighborhood Survey Builder project

This branch is 0 commits ahead and 14 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

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
Something went wrong with that request. Please try again.