Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—³οΈ Online Voting System (Python)

A console-based Online Voting System built using Python, OOP concepts, and file handling.
This project simulates a real-world voting system with role-based access control for Admin and Users.


πŸš€ Features

πŸ‘€ User Features

  • User Registration with strong password validation
  • Secure Login system
  • View personal details
  • Cast vote (only once)
  • Prevent duplicate voting

πŸ‘‘ Admin Features

  • Add candidates
  • Remove candidates
  • View election results

πŸ” Password Security

The system enforces strong passwords:

  • Minimum 8 characters
  • At least one uppercase letter
  • At least one lowercase letter
  • At least one digit
  • At least one special character

πŸ“‚ File Structure

The system uses text files for persistent storage:

File Purpose
users.txt Stores user data
candidates.txt Stores candidate names
votes.txt Stores voting records

πŸ› οΈ Technologies Used

  • Python
  • Object-Oriented Programming (OOP)
  • File Handling
  • Regular Expressions (Regex)
  • Git & GitHub

▢️ How to Run

git clone https://github.com/DevSahil12/VotingSystem.git
cd VotingSystem
python voting_system.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages