Iteration 3 Plan - SeventwoZ/ku-polls GitHub Wiki
Goal
- Add an user authentication feature.
- 1 authorized user can vote only 1 time.
Features
- Add a login and logout features.
- Only authorized user can submit a vote.
- Authorized user can modify their vote.
- Everyone can see the results of the votes and polls even if they are not authorized.
- Add a signup feature.
Milestone
- User can signup an account for authorized.
- Authorized users can vote only 1 time per user and can modify their choices.
Task
- Add a demo user.
- Add login and logout.
- Authenticated user can only submited a vote.
- Create an unittest to test some features.
Acceptance Criteria
- Application can be logged in and logged out.
- Only authorized users can and modify their choices.
- All unittest passed.
- Implement all task in
iteration3 and merge into main branch.
Restrospective
What did I improve
- Implementing a 1 by 1 polls and modify that only authenticated user can vote a choice on a polls.
- Add a login/logout system and add a signup option.
What did I struggled with
- The unittest is failed and return an Assertion error.
- The HTML is kind of messy and looks weird because I'm not good with it.
What did I learn
- I learn a lot of how to implement each user can only use 1 vote on each question on polls and how to implement an authentication system.
What to Improve
- Relearning about Django models
- Adjusting and styling CSS and HTML style