ZASMan / quiz-app

A quiz app to practice using a rails app as an API and more.
0 stars 0 forks source link

Create New Quizzes #1

Open ZASMan opened 7 years ago

ZASMan commented 7 years ago

As a user of this application, I can create new quizzes and add multiple questions, and the questions can have multiple answers with only one right answer. I should be able to create the quiz and all questions and answers in a single form.

Acceptance Criteria:

  1. Quizzes will have a title.
  2. Quizzes can have many questions.
  3. Questions can have many answers, but only one correct answer.

Potential Tasks:

  1. Create quizzes.
  2. Create questions.
  3. Create answers.
  4. Create correct answers.
  5. Update model specs for has_many, belongs_to, and has_one relationships.
  6. Created nested form to allow user to create quiz all at once.
ZASMan commented 7 years ago

https://github.com/plataformatec/simple_form/wiki/Nested-Models Note to self, follow this for the simple form.