Skip to content
All projects

PECC Leader Election

A full-stack web-based voting platform for organizational leader elections, built with Laravel 11, Livewire, and Tailwind CSS.

Published
Stack
  • Laravel 11
  • PHP
  • Livewire
  • Tailwind CSS
  • Blade
  • MySQL
Live at
github.com
Preview

PECC Leader Election is a secure, role-based digital voting system built for PECC (Polytechnic English Conversation Club), enabling members to participate in structured, transparent leader elections online. The system replaces manual paper-based processes with a modern, auditable web platform.

For Voters (Members)

  • Secure Authentication powered by Laravel Breeze
  • Cast Votes with one member, one vote enforcement via database-level constraints
  • Live Results with real-time vote tallies and ApexCharts visualizations
  • Election Timeline for awareness of voting periods

For Administrators

  • Candidate Management for creating, updating, and managing election candidates
  • Election Period Control for setting and managing voting windows
  • Member & Role Management with Spatie Laravel Permission
  • Dashboard Analytics with at-a-glance statistics and interactive data tables
  • Filterable Data Tables powered by Rappasoft Laravel Livewire Tables

Security & Integrity

  • Role-based access control (Admin, Voter roles)
  • CSRF protection on all forms
  • Vote deduplication at the database level (unique constraint on user_id, election_id)
  • Protected routes with Laravel middleware

Tech Stack

  • Laravel 11.x (Core MVC framework)
  • PHP 8.2+ (Server-side language)
  • Livewire 3.x (Reactive UI without JavaScript)
  • Tailwind CSS 4.x (Utility-first styling)
  • Spatie Permission 6.x (Role & permission management)
  • ApexCharts (Interactive chart visualizations)