<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: pushpendra shah</title>
    <description>The latest articles on Forem by pushpendra shah (@pushpendra1798).</description>
    <link>https://forem.com/pushpendra1798</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3727548%2F9b5187ad-5042-4cfe-85b7-e9f6d03a94c6.jpg</url>
      <title>Forem: pushpendra shah</title>
      <link>https://forem.com/pushpendra1798</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/pushpendra1798"/>
    <language>en</language>
    <item>
      <title>Building ElectionEdu: An AI-Powered Election Process Education Assistant Introduction</title>
      <dc:creator>pushpendra shah</dc:creator>
      <pubDate>Mon, 27 Apr 2026 06:12:44 +0000</pubDate>
      <link>https://forem.com/pushpendra1798/building-electionedu-an-ai-powered-election-process-education-assistantintroduction-126h</link>
      <guid>https://forem.com/pushpendra1798/building-electionedu-an-ai-powered-election-process-education-assistantintroduction-126h</guid>
      <description>&lt;p&gt;Democracy works best when citizens are informed. Yet many people find the election process confusing — from voter registration to how votes are counted. For the Virtual PromptWars Hackathon by Hack2Skill, I built ElectionEdu, an AI-powered web app that makes understanding elections simple, interactive, and engaging.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🎯 The Problem&lt;/strong&gt;&lt;br&gt;
Most civic education resources are either too boring, too complex, or not interactive enough. First-time voters especially struggle with questions like:&lt;/p&gt;

&lt;p&gt;How do I register to vote?&lt;br&gt;
What actually happens on election day?&lt;br&gt;
How are votes counted and certified?&lt;br&gt;
What is a constituency or an EVM?&lt;/p&gt;

&lt;p&gt;ElectionEdu solves this by providing an intelligent, conversational assistant backed by Google's Gemini AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💡 The Solution&lt;/strong&gt;&lt;br&gt;
ElectionEdu is a full-stack web application with four core modules:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;🗺️ Interactive Election Journey Map
A step-by-step clickable timeline that walks users through the entire election process:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step 1: Voter Registration&lt;br&gt;
Step 2: Campaigning&lt;br&gt;
Step 3: Voting Day&lt;br&gt;
Step 4: Vote Counting&lt;br&gt;
Step 5: Results &amp;amp; Inauguration&lt;/p&gt;

&lt;p&gt;Each step expands with detailed explanations when clicked.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;🤖 Smart Q&amp;amp;A Assistant
Powered by Google Gemini API, users can ask any election-related question in natural language and get clear, accurate answers instantly.&lt;/li&gt;
&lt;li&gt;📅 Election Timeline
A visual Gantt-style chart showing key election dates and deadlines — built with React Google Charts.&lt;/li&gt;
&lt;li&gt;📚 Glossary &amp;amp; Quiz&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A searchable glossary of important election terms&lt;br&gt;
An interactive quiz to test civic knowledge with instant scoring and explanations&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🛠️ Tech Stack&lt;/strong&gt;&lt;br&gt;
LayerTechnologyFrontendReact 19, Vite, React RouterUI ComponentsLucide React, Custom CSSChartsReact Google ChartsBackendNode.js, ExpressAIGoogle Gemini API (gemini-pro)DeploymentGoogle Cloud RunVersion ControlGitHub&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🏗️ Architecture&lt;/strong&gt;&lt;br&gt;
User Browser&lt;br&gt;
     ↓&lt;br&gt;
React Frontend (Cloud Run)&lt;br&gt;
     ↓&lt;br&gt;
Node.js Backend (Cloud Run)&lt;br&gt;
     ↓&lt;br&gt;
Google Gemini API&lt;br&gt;
The frontend and backend are deployed as separate Cloud Run services, communicating via REST API. The Gemini API key is securely stored as an environment variable — never exposed to the frontend.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🚀 Deployment Journey&lt;/strong&gt;&lt;br&gt;
Deploying on Google Cloud Run was the most challenging and rewarding part. Here's what I learned:&lt;br&gt;
Challenge 1: IAM Permissions&lt;br&gt;
Cloud Build was failing due to missing service account permissions. Fixed by granting the correct IAM roles to the Cloud Build and Compute service accounts.&lt;br&gt;
Challenge 2: Frontend Build in Docker&lt;br&gt;
Since vite is in devDependencies, the Docker build was failing. The fix was using a multi-stage Dockerfile with node:22-slim for building and nginx:stable-alpine for serving — keeping the final image lightweight.&lt;br&gt;
Challenge 3: Nginx on Port 8080&lt;br&gt;
Cloud Run requires port 8080. The default nginx config uses port 80, so I created a custom default.conf to serve on 8080.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;📁 Project Structure&lt;/strong&gt;&lt;br&gt;
election-edu-assistant/&lt;br&gt;
├── frontend/&lt;br&gt;
│   ├── src/&lt;br&gt;
│   │   ├── components/&lt;br&gt;
│   │   │   ├── JourneyMap.jsx&lt;br&gt;
│   │   │   ├── Timeline.jsx&lt;br&gt;
│   │   │   ├── Glossary.jsx&lt;br&gt;
│   │   │   ├── Quiz.jsx&lt;br&gt;
│   │   │   └── ChatAssistant.jsx&lt;br&gt;
│   │   └── App.jsx&lt;br&gt;
│   ├── Dockerfile&lt;br&gt;
│   └── package.json&lt;br&gt;
├── backend/&lt;br&gt;
│   ├── server.js&lt;br&gt;
│   └── package.json&lt;br&gt;
└── README.md&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔐 Security Practices&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Gemini API key stored in Cloud Run environment variables&lt;br&gt;
.env added to .gitignore — never committed to GitHub&lt;br&gt;
All AI API calls go through the backend — frontend never touches the key&lt;br&gt;
Input sanitization on all user queries&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🎓 What I Learned&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Google Cloud Run is incredibly powerful for deploying containerized apps — fully managed, scales to zero, and free tier is generous&lt;br&gt;
Multi-stage Docker builds are essential for keeping production images small and efficient&lt;br&gt;
Gemini API is remarkably easy to integrate and produces high-quality, contextually accurate responses&lt;br&gt;
IAM permissions in GCP need careful attention — always grant minimum required roles&lt;/p&gt;

&lt;p&gt;🔗 Links&lt;/p&gt;

&lt;p&gt;🌐 Live Demo: &lt;a href="https://election-edu-frontend-687469130333.us-central1.run.app/" rel="noopener noreferrer"&gt;https://election-edu-frontend-687469130333.us-central1.run.app/&lt;/a&gt;&lt;br&gt;
💻 GitHub: &lt;a href="https://github.com/Pushpendra1798/election-edu-assistant" rel="noopener noreferrer"&gt;https://github.com/Pushpendra1798/election-edu-assistant&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🙏 Conclusion&lt;/strong&gt;&lt;br&gt;
ElectionEdu demonstrates how AI can make civic education more accessible and engaging. By combining Google Gemini's intelligence with an interactive UI and Google Cloud Run's scalability, we can build tools that genuinely help citizens participate more confidently in democracy.&lt;br&gt;
Built with ❤️ for the Virtual PromptWars Hackathon by Hack2Skill.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devchallenge</category>
      <category>gemini</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Building FlowOps in Public: An AI-Powered Crowd Management System</title>
      <dc:creator>pushpendra shah</dc:creator>
      <pubDate>Thu, 16 Apr 2026 04:59:15 +0000</pubDate>
      <link>https://forem.com/pushpendra1798/building-flowops-in-public-an-ai-powered-crowd-management-system-2407</link>
      <guid>https://forem.com/pushpendra1798/building-flowops-in-public-an-ai-powered-crowd-management-system-2407</guid>
      <description>&lt;p&gt;&lt;strong&gt;🚀 Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Managing large crowds in stadiums, events, or public venues is a major challenge. People often face long queues, overcrowded exits, and confusion while navigating.&lt;/p&gt;

&lt;p&gt;What if we could use AI and real-time data to guide people efficiently?&lt;/p&gt;

&lt;p&gt;To solve this, I built &lt;strong&gt;FlowOps – an AI-powered Crowd Flow Management System&lt;/strong&gt; during the Hack2Skill Virtual Experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💡 Problem Statement&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In large venues:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;People don’t know which route is less crowded&lt;/li&gt;
&lt;li&gt;Long waiting times at exits and facilities&lt;/li&gt;
&lt;li&gt;Lack of real-time coordination&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This leads to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Poor user experience&lt;/li&gt;
&lt;li&gt;Safety risks in high-density areas&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;🧠 Solution: FlowOps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;FlowOps provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Real-time crowd monitoring&lt;/li&gt;
&lt;li&gt;AI-based predictions for congestion&lt;/li&gt;
&lt;li&gt;Smart navigation suggestions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It helps both:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Admins&lt;/strong&gt; → monitor and manage crowd&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attendees&lt;/strong&gt; → find the fastest routes&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;🏗 Architecture Overview&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🔹 Frontend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Built using &lt;strong&gt;React (Vite)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Clean UI with real-time updates&lt;/li&gt;
&lt;li&gt;Separate dashboards for Admin and Attendee&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔹 Backend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Built using &lt;strong&gt;Node.js (Express)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Serves the frontend and handles routing&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔹 AI Layer (Simulated)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;LSTM-based prediction (simulated data)&lt;/li&gt;
&lt;li&gt;Predicts crowd density trends&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔹 Cloud Deployment
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Deployed on &lt;strong&gt;Google Cloud Run&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Fully serverless and scalable&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;⚙️ Key Features&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📊 Live crowd density dashboard&lt;/li&gt;
&lt;li&gt;🔮 AI-based congestion prediction&lt;/li&gt;
&lt;li&gt;🧭 Smart route recommendations&lt;/li&gt;
&lt;li&gt;👥 Dual interface (Admin &amp;amp; Attendee)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;🛠 Tech Stack&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frontend: React, Vite&lt;/li&gt;
&lt;li&gt;Backend: Node.js, Express&lt;/li&gt;
&lt;li&gt;Cloud: Google Cloud Run&lt;/li&gt;
&lt;li&gt;Visualization: Recharts&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;🚧 Challenges Faced&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;During development, I faced several challenges:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fixing deployment errors on Cloud Run&lt;/li&gt;
&lt;li&gt;Handling server routing issues&lt;/li&gt;
&lt;li&gt;Managing build process (Vite + Node integration)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These challenges helped me deeply understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloud deployment workflows&lt;/li&gt;
&lt;li&gt;Debugging real-world issues&lt;/li&gt;
&lt;li&gt;Full-stack integration&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;📈 What I Learned&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Building scalable web applications&lt;/li&gt;
&lt;li&gt;Deploying apps on cloud platforms&lt;/li&gt;
&lt;li&gt;Understanding real-time system design&lt;/li&gt;
&lt;li&gt;Importance of clean UI/UX&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;** Live Project**&lt;/p&gt;

&lt;p&gt;🔗 Live Demo: &lt;a href="https://promptwar-754712756703.us-central1.run.app" rel="noopener noreferrer"&gt;https://promptwar-754712756703.us-central1.run.app&lt;/a&gt;&lt;br&gt;
💻 GitHub: &lt;a href="https://github.com/Pushpendra1798/flowops-ai-crowd-management" rel="noopener noreferrer"&gt;https://github.com/Pushpendra1798/flowops-ai-crowd-management&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;🎯 Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;FlowOps demonstrates how AI and cloud technologies can improve real-world crowd management systems.&lt;/p&gt;

&lt;p&gt;This project was a great learning experience in building, deploying, and scaling modern web applications.&lt;/p&gt;




&lt;p&gt;** 💬 Let’s Connect **&lt;br&gt;
If you're working on similar ideas or interested in AI + Cloud projects, feel free to connect!&lt;/p&gt;

&lt;h1&gt;
  
  
  Hack2Skill #GoogleCloud #CloudRun #WebDevelopment #AI #BuildInPublic
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>buildinpublic</category>
      <category>machinelearning</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
