How christianparanas/capstone-frontend works
EVSU Election System is an Angular frontend for student elections and related campus features, with distinct student, faculty, and administrator experiences. Users authenticate into role-specific areas; students can participate in elections and polls and access vote receipts, while faculty and administrators have election oversight and setup capabilities. The application also exposes messaging, notifications, and social features. HTTP services target a backend configured by the environment, and the student event service uses Socket.IO. Only selected source was sampled, so links between individual pages and services are omitted where their calls cannot be confirmed.
Main entry points: login.component.ts Login and signup · auth.service.ts Authentication · services/election.service.ts Student election API · services/election.service.ts Faculty election API
Components 22
Access
- Login and signup
src/app/core/pages/login/login.component.ts - Authentication
src/app/core/shared/services/auth.service.ts - Student access
src/app/core/shared/guards/student.guard.ts - Faculty access
src/app/core/shared/guards/faculty.guard.ts - Admin access
src/app/core/shared/guards/admin.guard.ts
Election workflows
- Browse and vote
src/app/modules/student/pages/elections/elections.component.ts - Student election API
src/app/modules/student/shared/services/election.service.ts - Vote receipts
src/app/modules/student/pages/receipts/receipts.component.ts - Election oversight
src/app/modules/faculty/pages/elections/elections.component.ts - Faculty election API
src/app/modules/faculty/shared/services/election.service.ts - Election setup
src/app/modules/admin/pages/election/election.component.ts - Admin election API
src/app/modules/admin/shared/services/election.service.ts
Role operations
- Polls and account
src/app/modules/student/pages/polls/polls.component.ts - Polls and voters
src/app/modules/faculty/pages/poll/poll.component.ts - Users and reports
src/app/modules/admin/pages/dashboard/dashboard.component.ts
Community
- Messages and chat
src/app/modules/student/pages/messages/messages.component.ts - Live event client
src/app/modules/student/shared/services/event.service.ts
Other components
- Student
- Faculty
- Administrator
- Application backend
- Socket.IO service
Connections 20
- Student → Login and signup: signs in
- Faculty → Login and signup: signs in
- Administrator → Login and signup: signs in
- Login and signup → Authentication: submits credentials
- Authentication → Application backend: sends auth requests
- Student → Student access: opens student area
- Faculty → Faculty access: opens faculty area
- Administrator → Admin access: opens admin area
- Student → Browse and vote: browses elections
- Student election API → Application backend: requests election data
- Faculty → Election oversight: oversees elections
- Faculty election API → Application backend: manages election data
- Administrator → Election setup: sets up elections
- Admin election API → Application backend: manages election data
- Student → Vote receipts: views receipts
- Student → Polls and account: uses campus features
- Faculty → Polls and voters: uses faculty tools
- Administrator → Users and reports: manages platform
- Student → Messages and chat: opens messages
- Live event client → Socket.IO service: exchanges live events