How anazsantanag/evote360pro works
Evote360Pro is an ASP.NET Core electoral-management and remote e-voting platform. Its voter journey proceeds from document-number access through identity/OCR validation and emailed OTP verification to a dynamic ballot, selection review, and vote finalization; the MVC controller explicitly invokes these stages. Separate administrative and party-leader capabilities manage elections, positions, citizens, parties, candidates, and alliances. The graph reflects the README and shown controller/service references; many implementation files were not sampled, so internal links beyond those references are omitted or marked unverified.
Main entry points: VoterController.cs Voter workflow · Admin Election administration · PartyLeader Party and candidate services · Interfaces Repository contracts
Components 23
Web workflows
- Voter workflow
Evote360Pro.Web/Areas/Voter/Controllers/VoterController.cs - Admin backoffice
Evote360Pro.Web/Areas/Admin/Controllers/AdminController.cs - Candidate management
Evote360Pro.Web/Areas/PartyLeader/Controllers/CandidateController.cs - Account access
Evote360Pro.Web/Controllers/AccountController.cs
Application services
- Voter access
Evote360Pro.Core.Application/Services/Voter/VoterAccessService.cs - Identity and OCR
Evote360Pro.Core.Application/Services/Voter/VoterIdentityService.cs - OTP verification
Evote360Pro.Core.Application/Services/Voter/VoterTokenService.cs - Ballot assembly
Evote360Pro.Core.Application/Services/Voter/VoterBallotService.cs - Vote finalization
Evote360Pro.Core.Application/Services/Voter/VoterVoteService.cs - Election administration
Evote360Pro.Core.Application/Services/Admin - Party and candidate services
Evote360Pro.Core.Application/Services/PartyLeader - Alliance requests
Evote360Pro.Core.Application/Services/PartyLeader/AllianceService.cs
Election domain
- Election records
Evote360Pro.Core.Domain/Entities - Repository contracts
Evote360Pro.Core.Domain/Interfaces
Persistence and identity
- PostgreSQL data
Evote360Pro.Infrastructure.Persistence/Context/PostgreDbContext.cs - User and role service
Evote360Pro.Infrastructure.Identity/Implementation/UserService.cs - Identity store
Evote360Pro.Infrastructure.Identity/Context/IdentityContext.cs
External services
- OCR integration
Evote360Pro.Infrastructure.Shared/Services/OcrService.cs - Email delivery
Evote360Pro.Infrastructure.Shared/Services/EmailService.cs - File storage
Evote360Pro.Infrastructure.Shared/Services/SupabaseStorageService.cs
Other components
- Voters
- Administrators
- Party leaders
Connections 21
- Voters → Voter workflow: submit workflow
- Voter workflow → Voter access: validates access
Evote360Pro.Web/Areas/Voter/Controllers/VoterController.cs - Voter workflow → Identity and OCR: validates identity
Evote360Pro.Web/Areas/Voter/Controllers/VoterController.cs - Voter workflow → OTP verification: sends and verifies
Evote360Pro.Web/Areas/Voter/Controllers/VoterController.cs - Voter workflow → Ballot assembly: requests ballot
Evote360Pro.Web/Areas/Voter/Controllers/VoterController.cs - Voter workflow → Vote finalization: finalizes selections
Evote360Pro.Web/Areas/Voter/Controllers/VoterController.cs - Identity and OCR → OCR integration: uses OCR
- OTP verification → Email delivery: sends code
- Administrators → Admin backoffice: manage elections
- Admin backoffice → Election administration: calls management services
Evote360Pro.Web/Areas/Admin/Controllers/AdminController.cs - Party leaders → Candidate management: manage candidates
- Candidate management → Party and candidate services: uses candidate service
Evote360Pro.Web/Areas/PartyLeader/Controllers/CandidateController.cs - Party and candidate services → Alliance requests: includes alliance management
- Election administration → File storage: stores party logos
- Election administration → User and role service: manages users
- User and role service → Identity store: manages identity users
Evote360Pro.Infrastructure.Identity/Implementation/UserService.cs - Election administration → Repository contracts: uses repository contracts
Evote360Pro.Core.Application/Services/Admin/ElectionService.cs - Party and candidate services → Repository contracts: uses repository contracts
Evote360Pro.Core.Application/Services/PartyLeader/AllianceService.cs - Repository contracts → PostgreSQL data: implemented by repositories
Evote360Pro.Infrastructure.Persistence/IoC/PersistenceServiceRegistration.cs - PostgreSQL data → Election records: stores election records
Evote360Pro.Infrastructure.Persistence/Context/PostgreDbContext.cs - Account access → User and role service: authenticates accounts
Evote360Pro.Web/Controllers/AccountController.cs