<?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>DEV Community: Debosman Dasgupta</title>
    <description>The latest articles on DEV Community by Debosman Dasgupta (@spiraltortilla12).</description>
    <link>https://dev.to/spiraltortilla12</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%2F3779906%2F5b073726-19c9-4368-aa51-9d3d09b5655b.png</url>
      <title>DEV Community: Debosman Dasgupta</title>
      <link>https://dev.to/spiraltortilla12</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/spiraltortilla12"/>
    <language>en</language>
    <item>
      <title>🗳️ Building Electify — A Digital Guide for Young Voters in India</title>
      <dc:creator>Debosman Dasgupta</dc:creator>
      <pubDate>Mon, 27 Apr 2026 16:35:10 +0000</pubDate>
      <link>https://dev.to/spiraltortilla12/building-electify-a-digital-guide-for-young-voters-in-india-5pe</link>
      <guid>https://dev.to/spiraltortilla12/building-electify-a-digital-guide-for-young-voters-in-india-5pe</guid>
      <description>&lt;p&gt;In a country as diverse and democratic as India, voting is not just a right — it’s a responsibility. Yet, for many first-time and young voters, understanding the electoral process can often feel confusing and overwhelming.&lt;/p&gt;

&lt;p&gt;That’s what inspired me to build &lt;strong&gt;Electify&lt;/strong&gt; — an interactive web application designed to simplify and explain the electoral process in India in a clean, engaging, and beginner-friendly way.&lt;/p&gt;

&lt;p&gt;From voter registration to election day and result declaration, Electify aims to guide young citizens through every stage of democracy.&lt;/p&gt;

&lt;p&gt;In this blog, I’ll share:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The idea behind Electify&lt;/li&gt;
&lt;li&gt;The technologies used&lt;/li&gt;
&lt;li&gt;How I deployed the project on Google Cloud Run&lt;/li&gt;
&lt;li&gt;Challenges faced during deployment&lt;/li&gt;
&lt;li&gt;Key lessons learned along the way&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  🌟 What is Electify?
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Electify&lt;/strong&gt; is an interactive election guide web app created to help young and first-time voters understand how elections work in India.&lt;/p&gt;

&lt;p&gt;The application presents the electoral journey in a simple and visually engaging timeline format, covering stages such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Voter registration&lt;/li&gt;
&lt;li&gt;Election preparation&lt;/li&gt;
&lt;li&gt;Voting process&lt;/li&gt;
&lt;li&gt;Counting and results&lt;/li&gt;
&lt;li&gt;Transition of governance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal was to make civic awareness:&lt;br&gt;
✅ Easy to understand&lt;br&gt;
✅ Accessible to everyone&lt;br&gt;
✅ Visually engaging&lt;br&gt;
✅ Mobile-friendly&lt;/p&gt;

&lt;p&gt;At its core, Electify combines technology with civic education.&lt;/p&gt;




&lt;h1&gt;
  
  
  🎯 Why I Built This Project
&lt;/h1&gt;

&lt;p&gt;Many young voters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Don’t know how to register&lt;/li&gt;
&lt;li&gt;Are unaware of election procedures&lt;/li&gt;
&lt;li&gt;Find official information too complex&lt;/li&gt;
&lt;li&gt;Lack awareness about the importance of participation in democracy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to create something minimalistic yet informative — a platform that explains the electoral process in a modern and interactive way.&lt;/p&gt;

&lt;p&gt;Electify is my attempt to bridge the gap between technology and civic awareness.&lt;/p&gt;




&lt;h1&gt;
  
  
  🛠️ Tech Stack Used
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Frontend
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;HTML5&lt;/li&gt;
&lt;li&gt;CSS3&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Backend
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python Flask&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Deployment &amp;amp; DevOps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Docker&lt;/li&gt;
&lt;li&gt;Google Cloud Build&lt;/li&gt;
&lt;li&gt;Google Cloud Run&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  💡 Key Features of Electify
&lt;/h1&gt;

&lt;h3&gt;
  
  
  📱 Responsive User Interface
&lt;/h3&gt;

&lt;p&gt;The application is optimized for both desktop and mobile users.&lt;/p&gt;

&lt;h3&gt;
  
  
  🗓️ Timeline-Based Learning
&lt;/h3&gt;

&lt;p&gt;The electoral process is broken into easy-to-follow stages.&lt;/p&gt;

&lt;h3&gt;
  
  
  ⚡ Interactive Experience
&lt;/h3&gt;

&lt;p&gt;Users can explore different election phases dynamically.&lt;/p&gt;

&lt;h3&gt;
  
  
  ☁️ Cloud Deployment
&lt;/h3&gt;

&lt;p&gt;The app is deployed on Google Cloud Run for scalability and reliability.&lt;/p&gt;




&lt;h1&gt;
  
  
  📦 Containerizing the Application with Docker
&lt;/h1&gt;

&lt;p&gt;To make deployment smoother and production-ready, I containerized the project using Docker.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dockerfile
&lt;/h2&gt;



&lt;p&gt;```dockerfile id="hyjlwm"&lt;br&gt;
FROM python:3.11-slim&lt;/p&gt;

&lt;p&gt;WORKDIR /app&lt;/p&gt;

&lt;p&gt;COPY requirements.txt .&lt;/p&gt;

&lt;p&gt;RUN pip install --no-cache-dir -r requirements.txt&lt;/p&gt;

&lt;p&gt;COPY . .&lt;/p&gt;

&lt;p&gt;ENV PORT=8080&lt;/p&gt;

&lt;p&gt;EXPOSE 8080&lt;/p&gt;

&lt;p&gt;CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


This setup ensured:

* Lightweight deployment
* Faster builds
* Consistent runtime environment
* Better scalability on Cloud Run

---

# ☁️ Deploying Electify on Google Cloud Run

I used Google Cloud Run because it provides:

* Serverless infrastructure
* Automatic scaling
* HTTPS support
* Container-based deployment
* Cost efficiency

## Step 1 — Build the Docker Image



```bash id="6g6e7k"
gcloud builds submit --tag gcr.io/PROJECT_ID/electify
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2 — Deploy the Application
&lt;/h2&gt;



&lt;p&gt;```bash id="r00uj7"&lt;br&gt;
gcloud run deploy electify \&lt;br&gt;
--image gcr.io/PROJECT_ID/electify \&lt;br&gt;
--platform managed \&lt;br&gt;
--allow-unauthenticated \&lt;br&gt;
--region asia-south1&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


Within minutes, Electify was live on the internet 🚀

---

# 🧩 Challenges Faced During Deployment

Like every real-world project, deployment came with its own challenges.

### ❌ Missing Dockerfile

Initially, Cloud Build failed because the Dockerfile wasn’t in the correct project directory.

### ❌ Wrong Build Context

At one point, Google Cloud Build detected “0 items” because the deployment command was executed from the wrong folder.

### ❌ Port Configuration Issues

Cloud Run requires applications to bind to the `PORT` environment variable dynamically.

I fixed this in Flask using:



```python id="o7rq2k"
port = int(os.environ.get('PORT', 8080))
app.run(host='0.0.0.0', port=port)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These debugging experiences taught me a lot about cloud-native deployment workflows.&lt;/p&gt;




&lt;h1&gt;
  
  
  📚 What I Learned
&lt;/h1&gt;

&lt;p&gt;Building and deploying Electify helped me gain practical experience in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full-stack web development&lt;/li&gt;
&lt;li&gt;Docker containerization&lt;/li&gt;
&lt;li&gt;Google Cloud deployment&lt;/li&gt;
&lt;li&gt;Cloud-native application hosting&lt;/li&gt;
&lt;li&gt;Debugging production deployment issues&lt;/li&gt;
&lt;li&gt;Designing user-focused interfaces&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most importantly, I learned how technology can be used to spread awareness and simplify important civic processes.&lt;/p&gt;




&lt;h1&gt;
  
  
  🚀 Future Improvements
&lt;/h1&gt;

&lt;p&gt;I plan to expand Electify further by adding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Election Commission API integration&lt;/li&gt;
&lt;li&gt;Real-time election updates&lt;/li&gt;
&lt;li&gt;Regional language support&lt;/li&gt;
&lt;li&gt;AI-powered voter assistance&lt;/li&gt;
&lt;li&gt;Interactive quizzes and learning modules&lt;/li&gt;
&lt;li&gt;Accessibility improvements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The long-term vision is to make Electify a complete digital civic awareness platform for young Indian voters.&lt;/p&gt;




&lt;h1&gt;
  
  
  🇮🇳 Final Thoughts
&lt;/h1&gt;

&lt;p&gt;India is the world’s largest democracy, and informed voters are its greatest strength.&lt;/p&gt;

&lt;p&gt;Electify may be a small project, but it represents a larger idea — using technology to educate, empower, and encourage participation in democracy.&lt;/p&gt;

&lt;p&gt;Building this project was not just a technical experience, but also a meaningful one.&lt;/p&gt;

&lt;p&gt;It reminded me that technology is most impactful when it solves real-world problems and creates awareness among people.&lt;/p&gt;




&lt;h1&gt;
  
  
  💬 Conclusion
&lt;/h1&gt;

&lt;p&gt;Electify combines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Web development&lt;/li&gt;
&lt;li&gt;Cloud computing&lt;/li&gt;
&lt;li&gt;Civic awareness&lt;/li&gt;
&lt;li&gt;Interactive design&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;into one meaningful project.&lt;/p&gt;

&lt;p&gt;From designing the UI to deploying it on Google Cloud Run, the entire journey was a valuable learning experience that strengthened both my development and deployment skills.&lt;/p&gt;

&lt;p&gt;I’m excited to continue improving the platform and exploring how technology can contribute positively to society.&lt;/p&gt;

&lt;p&gt;Thanks for reading! 🚀🗳️&lt;/p&gt;

</description>
      <category>googlecloud</category>
      <category>showdev</category>
      <category>sideprojects</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
