🚀 Live Website: https://greatwarrior22.pythonanywhere.com/
ClickVote is a secure, role-based online voting platform built using Flask and deployed on PythonAnywhere.
It is designed for smooth, transparent, and secure elections for colleges and organizations.
🔗 https://greatwarrior22.pythonanywhere.com/
- Login & Signup
- Forgot password (email-based reset)
- Secure session management
- Create & schedule elections
- Manage voters
- Approve candidates
- Monitor website traffic
- View results & past elections
- View active elections
- See candidate profiles
- Cast vote (strict one-vote rule)
- View results after polls close
- Manage candidate profile
- Display campaign info
- Track election status
- Automated election timing
- Candidate listings
- Secure vote submission
- Real-time results
- Archives of past elections
- User activity tracking
- Admin traffic panel (via traffic_analysis.py)
| Component | Technology |
|---|---|
| Backend | Flask (Python) |
| Frontend | HTML, CSS, JavaScript |
| Database | SQLite |
| Hosting | PythonAnywhere |
| Server | WSGI |
| Emails | SMTP |
ClickVote/ ├── app.py ├── traffic_analysis.py ├── requirements.txt ├── .env.example │ ├── static/ │ ├── style.css │ ├── theme.css │ └── images/ │ └── templates/ ├── login.html ├── signup.html ├── admin_dashboard.html ├── voter.html ├── vote.html ├── results.html ├── past_elections.html └── more...
git clone https://github.com/Ayush22042004/ClickVote.git cd ClickVote
python -m venv venv venv\Scripts\activate # Windows source venv/bin/activate # Linux/Mac
pip install -r requirements.txt
SECRET_KEY=your_secret_key EMAIL_USER=your_email EMAIL_PASS=your_email_password
python app.py
Runs at: http://127.0.0.1:5000
- Upload or git pull your repo
- Create a virtual environment
- Install requirements
- Configure WSGI
- Add environment variables
- Reload app
Your site goes live 🚀
PRs and suggestions are welcome.
Free to use and modify.
Made by Ayush Singh