CoolFace
Apppublic

Ninjaaaaaaa7/election-copilot

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Voter Co-Pilot ๐Ÿ—ณ๏ธ

An AI-powered Election Process Education tool.

๐Ÿš€ Overview

Voter Co-Pilot simplifies the democratic process by guiding users through voter registration, ID verification, and polling information.

๐Ÿ› ๏ธ Technology Stack & Google Services

  • โ€”AI Integration: Google Gemini API utilized for natural language processing and context-aware voter assistance.
  • โ€”Backend: FastAPI (Python) for asynchronous request handling.
  • โ€”Frontend: React/Vite with full ARIA accessibility compliance.
  • โ€”Deployment: Dockerized container architecture.

๐Ÿ”’ Security & Efficiency Features

  • โ€”Environment variables (os.getenv) strictly used to prevent hardcoded API keys.
  • โ€”CORS Middleware implemented for secure cross-origin resource sharing.
  • โ€”Dockerfile optimized with --no-cache-dir to reduce image bloat.

โ™ฟ Testing & Accessibility

  • โ€”Unit testing implemented via PyTest (test_main.py) to ensure endpoint reliability.
  • โ€”Semantic HTML and aria-label attributes used extensively for screen-reader accessibility.