Online Voting System is a web-based application designed to facilitate electronic voting processes for various purposes, such as elections, surveys, or polls.
Frontend : HTML, CSS
Backend : PHP
Database : MySQL
-
Install XAMPP or WAMPP.
-
Open XAMPP Control panal and start [apache] and [mysql].
-
Download project from github.
-
Extract files in C:\xampp\htdocs.
-
Open link localhost/phpmyadmin
-
Click on new at side navbar.
-
Give a database name as (onlinevotingsystem) hit on create button.
-
Create a table named user containing a total of 9 attributes.
-
Attributes : id (int 11)[PRIMARY KEY] ; name text; mobile bigint(10) ; password varchar(50) ; address varchar(100) ; photo varchar(255) ; role int(1) ;status int(1) ; votes int(100).
-
NOTE - Here, the password field is not encrypted , it is in plain text format.
-
After creating table, open any browser and visit http://localhost/Online-Voting-System to get started.