React-surveyman is a survey building tool for the Surveyman project. The idea is to build a drag-and-drop web interface where users generate instances of the types in the SurveyMan language, and combine them to form surveys. The system will use visual cues, like shape and color, to indicate types and legal operations. Once completed, the surveys will be exported to json which can then be fed into the Java program to build a live survey.
React-surveyman is an accepted project in GSOC 2015 under the Plasma@UMass group.
Currently, it uses
- React 0.13.x with JSX;
- Reflux, a simple library built on Facebook's Flux ideas.
- Immutable.js for immutability in the stores;
- Babel for ES6/ES7 transpilation and linting;
- Webpack for the tooling.
In order to start the project locally -
$ git clone --recursive http://github.com/prakhar1989/react-surveyman
$ npm install
$ cd js/sub/surveyman.js && npm install && cd ../../../
$ npm run start
# open localhost:8090 in your browser
The test suite as it stands is pretty sparse right now and is primarily built for purpose of testing the flux stores.
$ npm run test