Building CivicGemma: A Tamper‑Evident E‑Voting Microservices Platform with Gemma 4
Описание и применение
CivicGemma – это микросервисная платформа для электронного голосования, разработанная на Java 21, Spring Boot 3.4 и Angular 22, с интеграцией модели Gemma 4 для проверки удостоверений и многоязычного объяснения кандидатов. Платформа обеспечивает защиту от двойного голосования, шифрование голосов SHA‑256 и прозрачный аудит.
Задача
Local body elections suffer from paper ballot inefficiencies, double‑voting risks, and information asymmetry, making it hard to ensure transparent, auditable, and accessible voting.
Результат
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.
Рабочий процесс
- 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.
Доказательства
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).
We implemented a three‑tier defense: Application Layer Check, Database Engine Constraint, and Cryptographic SHA‑256 Ballot Sealing.
Gemma 4 multimodal civic AI solves two real‑world accessibility challenges: multimodal voter ID verification and multilingual manifesto explainer.
- Дата записи: 2026-11-01T15:59:06.667Z