Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building CivicGemma: A Tamper‑Evident E‑Voting Microservices Platform with Gemma 4

Description and use

CivicGemma is a microservices e‑voting platform built with Java 21, Spring Boot 3.4, and Angular 22, integrating Gemma 4 for ID verification and multilingual candidate explanations. It protects against double voting, seals ballots with SHA‑256, and offers transparent auditability.

Problem

Local body elections suffer from paper ballot inefficiencies, double‑voting risks, and information asymmetry, making it hard to ensure transparent, auditable, and accessible voting.

Outcome

CivicGemma successfully prevents double voting through layered checks, seals ballots with SHA‑256 receipts, and provides multilingual voter assistance via Gemma 4, demonstrating a viable, auditable e‑voting platform for local elections.

Workflow

  • 1. Design microservices with Database‑per‑Service pattern using Spring Cloud 2024 and Spring Boot 3.4.2.
  • 2. Implement Auth, Voter, Voting, Result, and Audit services with isolated MySQL schemas.
  • 3. Add application‑layer check to reject duplicate votes.
  • 4. Enforce unique composite index (election_id, voter_id) at database level.
  • 5. Generate SHA‑256 hash of ballot data to create tamper‑evident receipt.
  • 6. Integrate Google Gemma 4 for multimodal voter ID verification and multilingual manifesto summarization.
  • 7. Deploy services behind Spring Cloud API Gateway and Eureka Discovery Server.
  • 8. Test resilience with OpenFeign fallbacks for network partitions.
  • 9. Publish code to GitHub and demo via live link.

Evidence

During Hacktoberfest Hack Day Bhubaneswar × DatrixLabs, I built CivicGemma — an open‑source, full‑stack microservices e‑voting pilot system designed specifically for local body elections (Panchayats, Municipalities, and Wards).

Source

We implemented a three‑tier defense: Application Layer Check, Database Engine Constraint, and Cryptographic SHA‑256 Ballot Sealing.

Source

Gemma 4 multimodal civic AI solves two real‑world accessibility challenges: multimodal voter ID verification and multilingual manifesto explainer.

Source

  • Record date: 2026-11-01T15:59:06.667Z