/dev Create a new Flask route in a dedicated web page at the following path: “/votes”. This page should be password protected. The page will show a table (in a grid format) with the four restaurants and the vote for each restaurant. The page will also allow a user to vote for the restaurant of their choosing. This page should be modern, rich and following all the latest standards of web user interface developments.
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/build-a-ui-for-a-votingapp.md https://promptz.dev/prompts/solutions/build-a-ui-for-a-votingapp/2. Use with Q CLI:
q prompts use build-a-ui-for-a-votingapp