Candida18/Online-Voting-System ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple online voting system for a local election that runs on a browser and lets authorized voters cast a vote from home instead of going to a polling station.
I want an admin area where someone can log in, register voters, add positions and candidates, and see the voter list and vote results. Voters should get a secret voter ID after registration, then use it to log in, view the ballot, and vote once. After a vote is submitted, they should not be able to vote again.
Please make the pages clean and easy to use, with basic styling and a dashboard feel. Use a database to store voter info, candidates, positions, and votes, and make sure the whole flow works end to end with login, voting, and result tracking. If you need to check anything current online while building it, go ahead and look it up.
Are you gonna build this?
make sure you review the code using coderabbit