React, mongoDB and Postman

Please i need help on how to store quiz questions and answers on postman and mongoDB. Also assessing them
Will the body of post man look like this?
{ “questions” :[
“question”: “what is postman”,
}, {“answer”: [
Option A,
Option B,
]}, Correct 1,

1 Like

Hey @holuwateemeeleyin,

Welcome to the Postman community and thank you so much for posting! Looks like I am a little late to the party on this one, but I thought I would give it shot regardless to help you out. My specialty is on React and MongoDB, so I might be able to help you out here :wink:

With regard to your MongoDB schema, there is no “right answer.” Your schema depends on how you are going to be using the data. So to answer your question, your schema looks like it would great for your quiz app. If you want to dig deeper into your schema/app, let me know! I’d love to see how it turned out.