-
Admin Panel:
- Dashboard: Displays voter data (total voters, voted, not voted) and vote count chart
- Candidates: CRUD functionality for candidate data
- Voters: CRUD functionality for voter data
- Admins: CRUD functionality for admin data
-
Voter Panel:
- Election Page: Displays all candidates
- Results Page: Displays vote count chart for all candidates
-
Create a new database named
e_voting
at your DBMS (ex:PhpMyAdmin
). -
Clone this repository:
git clone https://github.com/raflizocky/e-voting.git
-
Open this project in your text editor (ex:
Visual Studio Code
). -
Create a new
.env
file. -
Copy the contents of
.env.example
and paste them into the newly created.env
file. -
Run the following commands:
-
php artisan key:generate
-
composer update
-
composer install
-
php artisan migrate:fresh --seed`
-
-
Access the web application with the credentials provided in the
DatabaseSeeder.php
file or theusers
table.
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.