Justine Acosta
JUSTINE ACOSTA · GMT+8 ·
All projects
UNIVERSITY · VOTING SYSTEM · 2023Archived

College of Engineering Student Council Voting System

Student council elections, from paper ballots to one web app.

  • JavaScript
  • PHP
  • MySQL
  • HTML
  • CSS
  • Bootstrap

A university build whose screenshots weren’t kept, so it’s described in words.

The problem

Student council elections ran on paper ballots and hand counts: slow to administer, hard to reach for every voter, and open to counting mistakes and doubts about the result.

What I built

A web-based voting system that digitises the College of Engineering’s student council elections, from ballot submission to the final tally, with roles for administrators, election officers and student voters and access rules that protect the vote.

My role

Main and lead backend developer on a student team.

How it works

A JavaScript front end on a PHP backend with a MySQL database. Administrators and election officers run the election, and student voters sign in to submit their ballots.

The backend counts votes as ballots are submitted and consolidates the results for administrators, while role-based access and restrictions keep each role to its own actions.

When a student submits a ballot, the backend checks they are eligible and haven’t voted, records the vote and marks them as voted in the same step, so a second ballot is refused. Counts come straight from the recorded votes, consolidated by position.

Challenges

  • One student, one vote

    A voter who double-clicks or opens two tabs mustn’t vote twice. Recording a ballot and marking the student as voted happen together on the server, so a second ballot is always refused.

  • Everyone voting at once

    Most ballots arrive in a short window. Each one is recorded on its own, so a busy moment can’t lose or merge votes.

  • A count people trust

    Officers and administrators run the election, but the tally is worked out from the stored ballots rather than a number anyone can edit, and access rules keep each role to its own actions.

Features

  • A digital voting workflow for simple, accessible ballot submission.
  • Role-based access control for administrators, election officers and student voters.
  • Automated vote counting and result tabulation.
  • Access restrictions that guard voting integrity against unauthorised activity.
  • Streamlined election administration and result consolidation.
  • Positions and candidates set up by election officers.
  • One ballot per student voter, enforced by the server.
  • Results consolidated by position for administrators.

Results

  • Ran a real College of Engineering student council election.