Here is a two seperate project with one API project as Voting made in .net core with CQRS pattern and a Voting-UI made in angular 17 with standalone feature in Facade pattern. 3 tables are maintained here
- Voter -> saves the voter details
- Candidate -> saves the candidate details
- Vote -> saves the voter and candidate that have done the voting
Add Voters
Add Candidates
Voting !!! Before voting is submitted After voting is done
Once the vote for the particular voter is done that user is not seen in the dropdown Here Voter 1 is not available