Skip to content

Iteration 2 Plan

Parima Sangsirakoup edited this page Sep 16, 2024 · 6 revisions

Iteration 2 Plan

Separate configuration data from code and add end_date to Question. Process in this iteration is tracked on Iteration 2 Taskboard

Features

Features to implement in this iteration:

  1. Each poll has end_date and default of pub_date is the time it has been created.
  2. Visiter can not vote for closed question.
  3. Visitor can see total votes in table form.
  4. Visitor can navigate between each page.
  5. If there is an error such as the url is not complete or visitor access the question that is not published yet. Application will redirect to index page with error message.

Features not implemented in this iteration:

  • we will not implement any authentication and, as a result, will not track who has replied to each poll question.
  • a user cannot change a previously submitted poll choice, although he can submit another choice (“vote”)

Milestone

  • A poll open after pub_date and close after end_date.
  • Visitor can not vote when the poll is closed.
  • Application correctly navigate between each page.
  • Error message appear when there is an error.
  • Configuration data has been seperated.

Acceptance Criteria

The project can run successfully without error, and all features implemented in this iteration can work properly. README has Badge showing tests pass on Github.

Clone this wiki locally