Skip to content

Repository files navigation

SmartVote — Secure Online Voting & Election Management System

A web-based voting management system for handling voter registration, ballot creation, and result tabulation. Built with PHP and designed for secure, efficient election processes with an intuitive admin interface.

Features

  • Voter Registration — Register and manage voter records with validation.
  • Ballot Creation — Create and configure ballots with multiple candidates and positions.
  • Secure Voting — Authenticated voting with one-vote-per-voter enforcement.
  • Real-Time Results — Live tabulation and result display as votes come in.
  • Admin Dashboard — Full administrative control over elections, candidates, and voters.
  • PDF Export — Generate printable election reports using TCPDF.

Tech Stack

Layer Technology
Backend PHP
Frontend HTML, CSS, JavaScript (Bootstrap via Bower)
Database MySQL
PDF Generation TCPDF
UI Components AdminLTE / Bootstrap

Getting Started

Prerequisites

  • PHP 7.4+
  • MySQL 5.7+
  • Apache or Nginx web server (or XAMPP/WAMP/MAMP for local development)
  • Composer (optional)

Installation

git clone https://github.com/prcharan592/SmartVote-A-Secure-Online-Voting-and-Election-Management-System.git
cd SmartVote-A-Secure-Online-Voting-and-Election-Management-System
  1. Import the database schema from the db/ folder into MySQL.
  2. Update database credentials in includes/ configuration files.
  3. Start your local server and navigate to http://localhost/SmartVote-A-Secure-Online-Voting-and-Election-Management-System/.

Default Access

  • Admin Panel: http://localhost/.../admin/
  • Voter Login: http://localhost/.../login.php

Project Structure

├── admin/               # Admin dashboard and management pages
├── bower_components/    # Frontend dependencies (Bootstrap, etc.)
├── db/                  # Database schema and seed data
├── dist/                # Compiled frontend assets
├── includes/            # PHP includes and configuration
├── plugins/             # Additional UI plugins
├── tcpdf/               # PDF generation library
├── home.php             # Landing page
├── index.php            # Main entry point
├── login.php            # Voter login
├── logout.php           # Session logout
├── preview.php          # Ballot preview
├── submit_ballot.php    # Vote submission handler
└── README.md

Contributing

Contributions are welcome! Please open an issue first to discuss what you'd like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add your feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License — see the LICENSE file for details.

Contact

prcharan592GitHub Profile

About

The Voting Management System is a web-based application for managing voter registration, ballot creation, and result tabulation. It ensures secure and efficient election processes with a user-friendly interface.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages