How bardas-denis/electronic-election-management-system works
EEMS is a web-based election management system. Its principal workflow is that election managers create and publish elections, voters access an open election and cast ballots, and users view results; first-run setup configures the instance before normal use. The backend also supports authentication, administration, audit, images, notifications, and pluggable scoring and database providers. The README documents the setup and launch flow; source excerpts and the index support only some internal connections, so other capability links are left unverified rather than inferred.
Main entry points: app.routes.ts Route access · Repositories Repositories · app.ts Angular application · voting Election screens
Components 20
Web application
- Angular application
electronic-election-management-system/src/app/app.ts - Route access
electronic-election-management-system/src/app/app.routes.ts - Setup wizard
electronic-election-management-system/src/app/features/setup/setup.component.ts - Login and registration
electronic-election-management-system/src/app/features/auth - Election screens
electronic-election-management-system/src/app/features/voting - Results dashboard
electronic-election-management-system/src/app/features/dashboard/results-dashboard.component.ts
Backend services
- Authentication API
Electronic Election Management System/Electronic Election Management System/Controllers/AuthController.cs - Authentication service
Electronic Election Management System/Electronic Election Management System/Services/implementations/AuthService.cs
Election lifecycle
- Election API
Electronic Election Management System/Electronic Election Management System/Controllers/ElectionsController.cs - Voting API
Electronic Election Management System/Electronic Election Management System/Controllers/VotesController.cs - Results API
Electronic Election Management System/Electronic Election Management System/Controllers/ResultsController.cs - Images, scoring, notifications
Electronic Election Management System/Electronic Election Management System/Controllers
Persistence and plugins
- Repositories
Electronic Election Management System/Electronic Election Management System/Data/Repositories - Election data model
Electronic Election Management System/Electronic Election Management System.Data/ElectionDbContext.cs - Database providers
Electronic Election Management System/Electronic Election Management System.Data/IDatabaseProvider.cs - Plugin host
Electronic Election Management System/Electronic Election Management System/Plugins/PluginHost.cs - Scoring plugin contracts
Electronic Election Management System/Electronic Election Management System.PluginContracts/IScoringPlugin.cs
Administration
- Users, labels, audit
Electronic Election Management System/Electronic Election Management System/Controllers - Instance setup API
Electronic Election Management System/Electronic Election Management System/Controllers/SetupController.cs
Other components
- User
Connections 22
- User → Angular application: uses
- Angular application → Setup wizard: opens setup
- Angular application → Route access: resolves routes
electronic-election-management-system/src/app/app.routes.ts - Route access → Setup wizard: loads
electronic-election-management-system/src/app/app.routes.ts - Route access → Login and registration: loads
electronic-election-management-system/src/app/app.routes.ts - Route access → Election screens: loads
electronic-election-management-system/src/app/app.routes.ts - Route access → Results dashboard: loads
electronic-election-management-system/src/app/app.routes.ts - Setup wizard → Instance setup API: configures
- Login and registration → Authentication API: authenticates
- Election screens → Election API: manages elections
- Election screens → Voting API: casts ballots
- Results dashboard → Results API: requests results
- Authentication API → Authentication service: delegates
- Authentication service → Repositories: reads and writes users
Electronic Election Management System/Electronic Election Management System/Services/implementations/AuthService.cs - Authentication service → Repositories: writes audit logs
Electronic Election Management System/Electronic Election Management System/Services/implementations/AuthService.cs - Repositories → Election data model: uses context
Electronic Election Management System/Electronic Election Management System/Data/Repositories/implementations/ElectionRepository.cs - Election data model → Database providers: uses provider
Electronic Election Management System/Electronic Election Management System/Program.cs - Plugin host → Database providers: loads provider
- Plugin host → Scoring plugin contracts: hosts extensions
- Election API → Images, scoring, notifications: supports election features
- Users, labels, audit → Repositories: uses persistence
Electronic Election Management System/Electronic Election Management System/Controllers/SetupController.cs - Instance setup API → Election data model: configures database
Electronic Election Management System/Electronic Election Management System/Controllers/SetupController.cs