Key Information

Register
Submit
The challenge is finished.

Challenge Overview

The MESH01 application features an survey Export button.  Clicking this downloads all the survey data for the selected test and survey into a csv file.

In this FTF you will add a new Export All button.  This button is very similar to Export, except that it a) includes all surveys for the selected test, and b) is in a slightly different format that includes a new weight field.

See the attached csv in the forums for the new format.  Basically, it lists each survey and within that survey it lists each tester on that survey vertically and lists each question/response on that survey horizontally.  The csv just shows a single survey, so you will need to repeat that section for each survey in the test.  Order the surveys by weartest.productSurveys.triggerDate ascending.

The source code is attached in the forums.  It's a basic node.js appliction, so to run it simply make sure you have all the dependencies installed and then run 'node app.js'.  The app runs on the default port of 3000.

The app connects to the topcoder-sandbox1-api which then connects to the database.  You will not need to do anything with the api or database.  All you'll need is to start up the app locally.

You can also see the app here:

http://topcoder-sandbox1.herokuapp.com/ (points to the same api)

App logins can be found in the forums.

Also note that there will be many more challenges on this same application coming soon, so you are encouraged to spend a little time getting familiar with the whole app.

Thanks, and good luck!



Final Submission Guidelines

Sumbit a zip of the entire code base with your modifications.  The submitted zip must be runnable (via 'node app.js') without any additional modifications.

Format your code the same as it is in the existing file.  Use tabs for spaces.  Do not hardcode styles.  Reuse existing code where possible.  Do not add new javascript files.

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30051711