Livoa LogoLivoa
VotingApp


-app: Flask

-config: dict

-mail: Mail

-session: Session

+init_db() :: void

+run() :: void

+home() :: str

+admin() :: str

+student_login() :: str

+student_registration() :: str

Admin


-username: str

-password: str

+login() :: dict

+manage_candidates() :: dict

+view_voters() :: list

+view_status() :: dict

+set_schedule() :: dict

+reset_election() :: dict

+delete_election() :: dict

Student


-name: str

-dateOfBirth: str

-age: int

-gender: str

-email: str

-mobile: str

-username: str

-password: str

-photo: str

-faceEncoding: str

-latitude: str

-longitude: str

-location: str

+register() :: dict

+login() :: dict

+verify_otp() :: dict

+face_login() :: dict

+validate_age() :: bool

Candidate


-name: str

-partyName: str

-photo: str

-symbol: str

-age: int

-gender: str

-email: str

-phoneNumber: str

-description: str

+add_candidate() :: dict

+get_candidates() :: list

+validate_data() :: bool

FaceUtils


+get_face_encoding_from_base64() :: list

+compare_encodings() :: tuple

+detect_emotion_security() :: tuple

+_b64_to_image_array() :: array

VotingSchedule


-id: int

-start_date: str

-end_date: str

-start_time: str

-end_time: str

+set_schedule() :: dict

+is_voting_time() :: bool

+is_voting_ended() :: bool

LoginHistory


-id: int

-username: str

-login_time: str

-latitude: str

-longitude: str

-location: str

+record_login() :: void

+get_history() :: list

ProctoringData


-id: int

-username: str

-session_start: str

-session_end: str

-duration: int

-violations: str

-tak_switches: int

-recording_path: str

-total_violations: int

-ip_address: str

-mac_address: str

+upload_data() :: dict

+get_data() :: list

LocationService


-get_location_name() :: str

+reverse_geocode() :: dict

SMSService


-twilio_client: Client

-api_key: str

+send_sms_otp() : bool

+send_confirmation() : bool

EmailService


-mail_config: dict

+send_email_otp() : bool

+send_confirmation() : bool

Vote


-name: str

-username: str

-email: str

-candidate: str

-timestamp: str

+submit_vote() : dict

+get_votes() : list

+validate_voter() : bool

Blockchain


-chain: list

-pending_transactions: list

-mining_reward: int

-difficulty: int

+create_genesis_block() : Block

+get_latest_block() : Block

+mine_pending_transactions() : void

+create_vote_transaction() : dict

+add_transaction() : void

+get_all_votes() : list

+is_chain_valid() : bool

Block


-index: int

-timestamp: str

-transactions: list

-previous_hash: str

-nonce: int

-hash: str

+calculate_hash() : str

+mine_block() : void

+has_valid_transactions() : bool

Result


-name: str

-photo: str

-partyName: str

-votes: int

+calculate_results() : dict

+get_stats() : list

+update_count() : void

👤 Voter
👨‍💼 Admin
🖥️ System
Register Account
Login with OTP
Face Authentication
Cast Vote
View Results
Generate E-Card
Admin Login
Add Candidate
View Candidates
Set Voting Schedule
View Voters
View Statistics
Monitor Proctoring
Reset Election
Validate Blockchain
Record Vote on Blockchain
Send OTP
Track Location
Video Monitoring
Blockchain Voting System

vote

by sinchana

0
0 uses