We’re building a polling app where the user can create their own poll, and then create multiple questions as part of their poll. The user will be able to add their own options to each question. There will also be different question types, such as “Which picture do you prefer?” or multiple text options.
We just wanted to see how others would structure this. We have a collection that contains the polls, and a separate collection that contains the questions. The poll id is logged in each question.
The challenges are:
- Multiple question types, potentially with different outputs
- User can add a custom number of answers / options for the poll
If anyone can point us to any resources on this, or offer any advice or ideas on structuring, we’d be very grateful!