Database Design for quiz generation

1 day ago 1
ARTICLE AD BOX

I’m currently stuck on a problem while building my website. I’m learning full-stack development and creating a quiz system where users can enter a topic, and the system generates questions based on it.

My concern is about question generation. I’m considering using the Gemini API to generate questions, but it isn’t always free. Another option is to use an existing quiz-based application API to fetch questions and answers, then store them in my database by topic. However, I’m unsure about this approach because the questions would likely be the same every time.

Could anyone suggest a good plan for this and advise me on how to design the database? I’m using PostgreSQL as my database.

Read Entire Article