Iteration 1 Plan - SeventwoZ/ku-polls GitHub Wiki
Goal
This version aims to enable users to post polls for questions and comment to those posted by other users. The system will reply by recording a user's choice after the user submits their poll and immediately show the result of the poll.
Features
- Showing a display with a list of each polls question.
- Each polls has a publication date(Starting date) and ending date. Also the questions are not publish or visible before the specificed date.
- Users can see the result of the polls.
- Users choose the choices of question and submit it.
- The polls with questions and users-choices are saved to database.
- Only the administrator can adjusts, modifies and changes the polls.
Milestone
- Application displays a list of active polls and allows a user to voted a choices on each poll.
- Application show a result of each polls after it passed the ending date.
Tasks
- Create a task board on Github for this iteration, and enter tasks.
- Create a polls application with Question and Choice model classes (Tutorial part 2).
- Design the UI and navigation.
- home page (index) displays a list of poll questions with links to each question
- question detail page displays poll question and list of choices with a way of selecting a choice
- results page displays vote totals for a particular question, with navigation links
- Implement the view for home page and start of question detail page (Tutorial part 3)
- Implement a web form for question detail page, and back-end to handle the form submission and record a vote (Tutorial part 4)
- Write Unit Tests (Tutorial part 5)
- test that question is not displayed before starting date (pub_date)
- test that question is displayed after the pub_date
- test that index page displays correctly even if no poll questions available
- test that "votes" are counted correctly - this is not in the tutorial
- Add CSS styling (Tutorial part 6)
- Add at least 2 interesting questions to the application, and delete the stupid "What's up?" question.
- No trivial or boring questions like "What's your favorite color?", "What is today?".
Acceptance Criteria
- The poll applications are running completely and smoothly without any risk.
- All of the features are implemented and worked.
- Everything on
iteration1should be completed and be implemented.