The program features a main voting page for voters to enter their Voter ID and select their canditate for voting and submit their votes. All the votes will be temporarily stored in a sqlite database file and finally export the votes to csv file once the voting gets finished.
-
Easy to Configure
- The program features a nice sleek UI with its own styling and themes
- Program can be modified according to it's usage from the main source code itself.
-
Voting Process
- Voter ID can be added from a sperate CSV file along with their name
- Voters can easily click on the canditate and submit their vote.
-
Results
- Results will be generated into two seperate files with one file revealing which voter's choice and other file revealing the number of votes for each canditates.
- Python
- Flask
- SQLite (for database management)
- Pandas (for data manipulation)
-
Clone the repository:
git clone https://github.com/Sidharth-Prabhu/Flask-Voting-System.git
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
//Create and activate virtual environment. python app.py
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make changes and commit (
git commit -am 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new pull request.