Tuesday 23 June 2020

How to create "smart" data structure for questionnaires?

I'm building a Node app where users can customize a more-or-less standardized questionnaire and send it to other people. The questionnaire functions like a flow-diagram. So if you e. g. answer "no" to question 2, question 3-10 will be skipped and the next question would be question 11.I'm not sure how to create and persist a good data structure for this. Do you guys are aware of any references? Is it the right approach to just stringify and object and save it to the database (I'm using Postgres)? Thanks.

Submitted June 23, 2020 at 09:35AM by memo_mar

No comments:

Post a Comment