<?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: Mohammed Ansari</title>
    <description>The latest articles on Forem by Mohammed Ansari (@mohammed_ansari_d2425db08).</description>
    <link>https://forem.com/mohammed_ansari_d2425db08</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%2F3887620%2F65a76a12-fede-45f9-a410-8c50e492a466.jpg</url>
      <title>Forem: Mohammed Ansari</title>
      <link>https://forem.com/mohammed_ansari_d2425db08</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mohammed_ansari_d2425db08"/>
    <language>en</language>
    <item>
      <title>From Chaos to Control: Building a Google Maps–Style AI Command Console with Cloud Run</title>
      <dc:creator>Mohammed Ansari</dc:creator>
      <pubDate>Mon, 20 Apr 2026 15:34:38 +0000</pubDate>
      <link>https://forem.com/mohammed_ansari_d2425db08/from-chaos-to-control-building-a-google-maps-style-ai-command-console-with-cloud-run-2kim</link>
      <guid>https://forem.com/mohammed_ansari_d2425db08/from-chaos-to-control-building-a-google-maps-style-ai-command-console-with-cloud-run-2kim</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkw9ni6hfqodpllyf0z5h.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkw9ni6hfqodpllyf0z5h.jpg" alt=" " width="800" height="455"&gt;&lt;/a&gt;How I went from a broken UI and failing deployments to a fully functional AI-powered stadium navigation system running on Google Cloud.&lt;/p&gt;




&lt;p&gt;The Idea&lt;/p&gt;

&lt;p&gt;What if a stadium dashboard behaved like Google Maps + Iron Man HUD + AI brain?&lt;/p&gt;

&lt;p&gt;Not just static dashboards… but:&lt;/p&gt;

&lt;p&gt;Real-time navigation&lt;br&gt;
AI decision engine&lt;br&gt;
Live crowd intelligence&lt;br&gt;
Fully deployed on cloud&lt;/p&gt;

&lt;p&gt;That’s exactly what I built.&lt;/p&gt;




&lt;p&gt;The System Overview&lt;/p&gt;

&lt;p&gt;This is not just a frontend project. It’s a full-stack AI system:&lt;/p&gt;

&lt;p&gt;Architecture&lt;br&gt;
User Input → Frontend (React)&lt;br&gt;
           → Backend (Node.js)&lt;br&gt;
           → BigQuery (crowd data)&lt;br&gt;
           → Vertex AI (reasoning)&lt;br&gt;
           → Firebase (logging)&lt;br&gt;
           → Response → UI visualization&lt;/p&gt;




&lt;p&gt;Tech Stack&lt;br&gt;
Frontend: React + Vite&lt;br&gt;
Backend: Node.js + Express&lt;br&gt;
AI Layer: Vertex AI (Gemini)&lt;br&gt;
Data Layer: BigQuery&lt;br&gt;
Logging: Firebase&lt;br&gt;
Deployment: Cloud Run&lt;br&gt;
Infra: Docker + Artifact Registry&lt;/p&gt;




&lt;p&gt;The UI: Not Just a Dashboard&lt;/p&gt;

&lt;p&gt;I rebuilt the UI completely into a spatial AI control hub:&lt;/p&gt;

&lt;p&gt;Key Features&lt;br&gt;
Zoomable + pannable SVG map&lt;br&gt;
Stadium zones (Gates, Facilities)&lt;br&gt;
Animated AI route (particle flow)&lt;br&gt;
Heatmap layer (crowd density)&lt;br&gt;
Toggle-based facility layers&lt;br&gt;
AI reasoning panel (typing effect)&lt;/p&gt;




&lt;p&gt;The Real Challenge (Not UI… Logic)&lt;/p&gt;

&lt;p&gt;At first, the system looked good but failed logically:&lt;/p&gt;

&lt;p&gt;“I am at West Gate, where is medical station”&lt;br&gt;
→ Returned random output&lt;/p&gt;

&lt;p&gt;Root Problem:&lt;br&gt;
No proper intent mapping&lt;br&gt;
No structured routing logic&lt;br&gt;
Fix: Deterministic Routing Engine&lt;/p&gt;

&lt;p&gt;I introduced 3 layers:&lt;/p&gt;

&lt;p&gt;Intent Normalization&lt;br&gt;
"med station" → "Med Station"&lt;br&gt;
"hungry" → "Food Stall"&lt;/p&gt;

&lt;p&gt;Rule-Based Routing&lt;br&gt;
Find nearest valid node&lt;br&gt;
Use graph-based shortest path&lt;/p&gt;

&lt;p&gt;Validation Guard&lt;br&gt;
If no location → ask user instead of breaking&lt;/p&gt;




&lt;p&gt;The REAL Battle: Cloud Run Deployment&lt;/p&gt;

&lt;p&gt;This is where things went from “works locally” → “fails miserably”&lt;/p&gt;

&lt;p&gt;Problem #1: Container Not Starting&lt;/p&gt;

&lt;p&gt;Error:&lt;/p&gt;

&lt;p&gt;“Container failed to start and listen on PORT=8080”&lt;/p&gt;

&lt;p&gt;Why?&lt;/p&gt;

&lt;p&gt;Cloud Run requires:&lt;/p&gt;

&lt;p&gt;A running server&lt;br&gt;
Listening on PORT env variable&lt;br&gt;
Bound to 0.0.0.0&lt;br&gt;
Fix (Backend)&lt;br&gt;
const PORT = process.env.PORT || 8080;&lt;/p&gt;

&lt;p&gt;app.listen(PORT, '0.0.0.0', () =&amp;gt; {&lt;br&gt;
  console.log(&lt;code&gt;Server running on ${PORT}&lt;/code&gt;);&lt;br&gt;
});&lt;/p&gt;

&lt;p&gt;Problem #2: Frontend Fails on Cloud Run&lt;/p&gt;

&lt;p&gt;Frontend = static files&lt;br&gt;
Cloud Run = expects a server&lt;/p&gt;

&lt;p&gt;Result → deployment failure&lt;/p&gt;

&lt;p&gt;Fix (Frontend Server)&lt;/p&gt;

&lt;p&gt;I had to wrap frontend inside a server&lt;/p&gt;




&lt;p&gt;Docker: The Backbone&lt;/p&gt;

&lt;p&gt;Backend Dockerfile:&lt;/p&gt;

&lt;p&gt;FROM node:18&lt;/p&gt;

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

&lt;p&gt;COPY package*.json ./&lt;br&gt;
RUN npm install&lt;/p&gt;

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

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

&lt;p&gt;CMD ["node", "server.js"]&lt;/p&gt;




&lt;p&gt;Final Result:&lt;br&gt;
Backend running on Cloud Run&lt;br&gt;
Frontend deployed on Cloud Run&lt;br&gt;
AI routing working&lt;br&gt;
UI stable (mostly 😅)&lt;br&gt;
Full Google Cloud integration&lt;/p&gt;




&lt;p&gt;Key Learnings&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cloud Run is simple… but strict&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You must follow:&lt;br&gt;
PORT&lt;br&gt;
Server process&lt;br&gt;
Correct container structure&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Frontend ≠ static anymore in Cloud Run&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You need:&lt;br&gt;
Build → Serve → Run&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;AI ≠ just calling LLM&lt;br&gt;
Without structure:&lt;br&gt;
It fails badly&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Debugging &amp;gt; Coding&lt;br&gt;
Most time went into:&lt;br&gt;
fixing deployment not building features&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;What I’d Improve Next&lt;br&gt;
Better AI intent detection&lt;br&gt;
Cleaner UI layout (no overlap)&lt;br&gt;
Real-time streaming data&lt;br&gt;
Graph-based routing engine upgrade&lt;/p&gt;




&lt;p&gt;Final Thought&lt;/p&gt;

&lt;p&gt;This project started as:&lt;/p&gt;

&lt;p&gt;“Let’s build a cool UI”&lt;/p&gt;

&lt;p&gt;It ended as:&lt;/p&gt;

&lt;p&gt;“Let’s build a real production AI system”&lt;/p&gt;

&lt;p&gt;Try It Yourself: &lt;a href="https://stadium-frontend-986344078772.asia-south1.run.app/" rel="noopener noreferrer"&gt;https://stadium-frontend-986344078772.asia-south1.run.app/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;If you’re building AI apps today:&lt;/p&gt;

&lt;p&gt;Deployment is NOT optional&lt;br&gt;
Architecture matters more than UI&lt;br&gt;
Cloud knowledge = unfair advantage&lt;/p&gt;




&lt;p&gt;Let’s Connect&lt;/p&gt;

&lt;p&gt;If you're working on:&lt;/p&gt;

&lt;p&gt;AI apps&lt;br&gt;
Cloud deployments&lt;br&gt;
Automation systems&lt;/p&gt;

&lt;p&gt;Drop a comment or connect with me.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Prompt Wars Attempt 2 – From AI Demo to Real System</title>
      <dc:creator>Mohammed Ansari</dc:creator>
      <pubDate>Mon, 20 Apr 2026 02:32:50 +0000</pubDate>
      <link>https://forem.com/mohammed_ansari_d2425db08/prompt-wars-attempt-2-from-ai-demo-to-real-system-5a58</link>
      <guid>https://forem.com/mohammed_ansari_d2425db08/prompt-wars-attempt-2-from-ai-demo-to-real-system-5a58</guid>
      <description>&lt;p&gt;In my first attempt at Prompt Wars, I built a working AI solution.&lt;br&gt;
It was functional. It responded correctly. But it didn’t feel like a real system.&lt;br&gt;
That was the biggest lesson.&lt;br&gt;
So for my second attempt, I changed my approach completely.&lt;br&gt;
The system combines deterministic decision logic with AI reasoning, ensuring reliable outputs without hallucination.&lt;/p&gt;




&lt;p&gt;The Shift in Thinking&lt;br&gt;
Instead of asking: “How do I build this feature?”&lt;br&gt;
I started asking: “How would this work in a real production system?”&lt;br&gt;
That one change made everything different.&lt;/p&gt;




&lt;p&gt;What I Built&lt;br&gt;
I created an enhanced version of:&lt;br&gt;
Smart Stadium AI Assistant&lt;br&gt;
The goal:&lt;br&gt;
• Reduce crowd congestion&lt;br&gt;
• Help users navigate efficiently&lt;br&gt;
• Provide real-time intelligent suggestions&lt;br&gt;
But this time, the focus was not just output…&lt;br&gt;
It was decision-making.&lt;/p&gt;




&lt;p&gt;Core Architecture&lt;br&gt;
I designed the system with clear layers:&lt;br&gt;
User Input&lt;br&gt;
→ Context Builder&lt;br&gt;
→ Real-time Data (Firebase pattern)&lt;br&gt;
→ Historical Data (BigQuery pattern)&lt;br&gt;
→ Decision Engine&lt;br&gt;
→ Vertex AI (reasoning)&lt;br&gt;
→ Final Response&lt;br&gt;
Each component has a role.&lt;br&gt;
This made the system structured and scalable.&lt;/p&gt;




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

&lt;p&gt;Frontend&lt;br&gt;
HTML5, CSS3 (Glassmorphism UI)&lt;br&gt;
Vanilla JavaScript (no heavy frameworks)&lt;br&gt;
Custom SVG for stadium visualization&lt;/p&gt;

&lt;p&gt;Backend&lt;br&gt;
Node.js&lt;br&gt;
Express.js&lt;/p&gt;

&lt;p&gt;AI &amp;amp; Decision Layer&lt;br&gt;
Rule-based Decision Engine (custom logic)&lt;br&gt;
Vertex AI (intent classification + reasoning)&lt;/p&gt;

&lt;p&gt;Data &amp;amp; Simulation&lt;br&gt;
Firebase (simulated real-time crowd data)&lt;br&gt;
BigQuery (simulated historical analytics)&lt;/p&gt;

&lt;p&gt;Deployment&lt;br&gt;
Google Cloud Run (containerized Node.js service)&lt;br&gt;
Google Cloud Build (image build &amp;amp; deployment)&lt;/p&gt;




&lt;p&gt;Key Improvements Over Attempt 1&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Decision Engine (Game Changer)&lt;br&gt;
Instead of directly generating responses, I added a decision layer.&lt;br&gt;
• Rule-based logic (shortest vs least crowded)&lt;br&gt;
• Priority handling (normal vs high congestion)&lt;br&gt;
• Fallback logic for edge cases&lt;br&gt;
This ensured:&lt;br&gt;
The system decides first, then responds&lt;/p&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Real-time + Historical Intelligence&lt;br&gt;
I simulated Google Cloud patterns:&lt;br&gt;
• Firebase → live crowd data&lt;br&gt;
• BigQuery → historical trends&lt;br&gt;
• Vertex AI → reasoning&lt;br&gt;
Now decisions are based on:&lt;br&gt;
current situation + past patterns&lt;/p&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Smarter Responses&lt;br&gt;
Responses are no longer generic.&lt;br&gt;
Example:&lt;br&gt;
Recommended: Food Stall 2 (East Gate)&lt;br&gt;
Crowd: Low (12%)&lt;br&gt;
Reason: Nearby stall has 78% congestion&lt;br&gt;
Alternative: Food Stall 1 (closer but high wait time)&lt;br&gt;
This adds:&lt;br&gt;
• clarity&lt;br&gt;
• trust&lt;br&gt;
• intelligence&lt;/p&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Edge Case Handling&lt;br&gt;
Real systems don’t break under pressure.&lt;br&gt;
So I handled:&lt;br&gt;
• Extreme crowd spikes (&amp;gt;85%)&lt;br&gt;
• Empty stadium scenarios&lt;br&gt;
• Invalid user inputs&lt;br&gt;
The system adapts instead of failing.&lt;/p&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Clean &amp;amp; Modular Code&lt;br&gt;
Instead of one big file, I structured it as:&lt;br&gt;
/engine → logic (context, decision, simulation)&lt;br&gt;
/services → integrations (Firebase, BigQuery, Vertex AI)&lt;br&gt;
/routes → API handling&lt;br&gt;
/public → frontend&lt;br&gt;
This improves:&lt;br&gt;
• readability&lt;br&gt;
• maintainability&lt;br&gt;
• scalability&lt;/p&gt;


&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Deployment&lt;br&gt;
I deployed the application using Google Cloud Run.&lt;br&gt;
Why Cloud Run?&lt;br&gt;
• Stateless architecture&lt;br&gt;
• Auto-scaling&lt;br&gt;
• Simple deployment&lt;br&gt;
This made the system closer to a real-world setup.&lt;/p&gt;




&lt;p&gt;Live App:&lt;a href="https://smart-stadium-ai-986344078772.asia-south1.run.app/" rel="noopener noreferrer"&gt;https://smart-stadium-ai-986344078772.asia-south1.run.app/&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Biggest Learning&lt;br&gt;
My first version was:&lt;br&gt;
“An AI that answers questions”&lt;br&gt;
This version became:&lt;br&gt;
“A system that makes decisions”&lt;br&gt;
That is a huge difference.&lt;/p&gt;




&lt;p&gt;What Could Be Better&lt;br&gt;
• UI can be improved (more realistic map experience)&lt;br&gt;
• More real integrations instead of simulated patterns&lt;br&gt;
• Better performance optimization&lt;br&gt;
But the foundation is now strong.&lt;/p&gt;




&lt;p&gt;Final Thoughts&lt;br&gt;
If you are building AI projects, don’t stop at:&lt;br&gt;
• generating responses&lt;br&gt;
• connecting APIs&lt;br&gt;
Focus on:&lt;br&gt;
How decisions are made&lt;br&gt;
That’s what separates:&lt;br&gt;
• demos&lt;br&gt;
from&lt;br&gt;
• real systems&lt;/p&gt;




&lt;p&gt;Thanks for reading&lt;br&gt;
If you have suggestions or feedback, feel free to share.&lt;br&gt;
Always learning, always building&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #GenAI #SystemDesign #GoogleCloud #CloudRun #PromptEngineering #LearningInPublic #BuildwithAI #PromptWarsVirtual
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmmwsy3xfvklcv05678ym.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmmwsy3xfvklcv05678ym.jpg" alt=" " width="800" height="409"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>api</category>
      <category>learning</category>
    </item>
    <item>
      <title>Building a Smart Stadium AI Assistant using Google Cloud (Without Overengineering)</title>
      <dc:creator>Mohammed Ansari</dc:creator>
      <pubDate>Sun, 19 Apr 2026 17:24:54 +0000</pubDate>
      <link>https://forem.com/mohammed_ansari_d2425db08/building-a-smart-stadium-ai-assistant-using-google-cloud-without-overengineering-4mnj</link>
      <guid>https://forem.com/mohammed_ansari_d2425db08/building-a-smart-stadium-ai-assistant-using-google-cloud-without-overengineering-4mnj</guid>
      <description>&lt;p&gt;This is my first blog, so keeping it simple and real.&lt;/p&gt;

&lt;p&gt;Recently, I worked on a challenge where the goal was to improve the physical event experience in a large venue or a stadium.&lt;/p&gt;

&lt;p&gt;Think about any big cricket match or football game or a Summit.&lt;/p&gt;

&lt;p&gt;What usually happens?&lt;/p&gt;

&lt;p&gt;Long queues at registration or food stalls&lt;br&gt;
Confusion in finding exits&lt;br&gt;
Crowd congestion near gates&lt;br&gt;
No real-time visibility of what’s happening&lt;/p&gt;

&lt;p&gt;So the question was:&lt;/p&gt;

&lt;p&gt;Can we solve this using AI and cloud?&lt;/p&gt;




&lt;p&gt;The Idea&lt;/p&gt;

&lt;p&gt;Instead of building something overly complex, I focused on a practical system.&lt;/p&gt;

&lt;p&gt;The goal was to simulate a smart assistant that can:&lt;/p&gt;

&lt;p&gt;Guide users inside the venue/stadium&lt;br&gt;
Suggest less crowded paths&lt;br&gt;
Show real-time crowd density&lt;br&gt;
Alert during sudden crowd spikes&lt;/p&gt;

&lt;p&gt;Basically, make the experience smoother and stress-free.&lt;/p&gt;




&lt;p&gt;Key Design Decision&lt;/p&gt;

&lt;p&gt;Most people think:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;AI = complex models + Python + training&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;But I took a different approach:&lt;/p&gt;

&lt;p&gt;Simulated intelligence using real-time logic&lt;/p&gt;

&lt;p&gt;Because in real-world systems:&lt;/p&gt;

&lt;p&gt;speed matters&lt;br&gt;
reliability matters&lt;br&gt;
simplicity matters&lt;/p&gt;




&lt;p&gt;System Architecture&lt;/p&gt;

&lt;p&gt;I built a simple but effective architecture:&lt;/p&gt;

&lt;p&gt;Frontend → shows venue/stadium layout and user interaction&lt;br&gt;
Backend → handles simulation and logic&lt;br&gt;
Simulation Engine → generates crowd movement and events&lt;br&gt;
AI Layer → gives recommendations based on context&lt;/p&gt;

&lt;p&gt;Everything works together like a mini real-world system.&lt;/p&gt;




&lt;p&gt;Stadium Layout&lt;/p&gt;

&lt;p&gt;I designed a structured stadium layout with:&lt;/p&gt;

&lt;p&gt;4 Gates (North, South, East, West)&lt;br&gt;
Parking Area&lt;br&gt;
First Aid Center&lt;br&gt;
Merchandise Store&lt;br&gt;
Food Stalls (outside stadium area)&lt;br&gt;
Fan Booth&lt;br&gt;
Cab Pickup, Metro, Bus stations&lt;/p&gt;

&lt;p&gt;All zones are connected with paths to simulate movement.&lt;/p&gt;




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

&lt;p&gt;Frontend: HTML, CSS, JavaScript&lt;br&gt;
Backend: Node.js (Express)&lt;br&gt;
Deployment: Google Cloud Run&lt;br&gt;
Containerization: Docker (via Cloud Run)&lt;br&gt;
Real-time Simulation: Custom event-driven logic&lt;/p&gt;

&lt;p&gt;No heavy frameworks. No unnecessary dependencies.&lt;/p&gt;




&lt;p&gt;Real-Time Simulation&lt;/p&gt;

&lt;p&gt;The system simulates:&lt;/p&gt;

&lt;p&gt;Crowd density across zones (%)&lt;br&gt;
Gradual increase in crowd&lt;br&gt;
Sudden spike when event ends&lt;br&gt;
Empty stadium scenario&lt;/p&gt;

&lt;p&gt;This makes the app feel “live” instead of static.&lt;/p&gt;




&lt;p&gt;AI Routing Assistant&lt;/p&gt;

&lt;p&gt;User can ask:&lt;/p&gt;

&lt;p&gt;“I am at West Gate. Which is the nearest food stall?”&lt;/p&gt;

&lt;p&gt;Instead of generic replies, the system responds like:&lt;/p&gt;

&lt;p&gt;“The best option is Food Stall 2 towards South-East (near East Gate). It has low crowd (12%).”&lt;/p&gt;

&lt;p&gt;This is based on:&lt;/p&gt;

&lt;p&gt;current crowd data&lt;br&gt;
zone positions&lt;br&gt;
user intent&lt;/p&gt;




&lt;p&gt;Security &amp;amp; Efficiency&lt;/p&gt;

&lt;p&gt;Even though this is a demo, I added:&lt;/p&gt;

&lt;p&gt;Input validation&lt;br&gt;
Rate limiting&lt;br&gt;
Secure headers&lt;/p&gt;

&lt;p&gt;Also kept the repo:&lt;/p&gt;

&lt;p&gt;Under 10 MB (very lightweight)&lt;/p&gt;




&lt;p&gt;Deployment&lt;/p&gt;

&lt;p&gt;Deployed using Google Cloud Run.&lt;/p&gt;

&lt;p&gt;Why Cloud Run?&lt;/p&gt;

&lt;p&gt;Easy deployment&lt;br&gt;
Scales automatically&lt;br&gt;
Works well with containerized apps&lt;/p&gt;

&lt;p&gt;Live app: &lt;a href="https://crowd-ctrl-app-986344078772.asia-south1.run.app" rel="noopener noreferrer"&gt;https://crowd-ctrl-app-986344078772.asia-south1.run.app&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;Some real issues I faced:&lt;/p&gt;

&lt;p&gt;Serving frontend correctly in Cloud Run&lt;br&gt;
Fixing API base URLs for production&lt;br&gt;
Avoiding large repo size (node_modules issue)&lt;br&gt;
Making UI clean without overloading it&lt;/p&gt;

&lt;p&gt;Each of these taught something practical.&lt;/p&gt;




&lt;p&gt;Key Learnings&lt;/p&gt;

&lt;p&gt;This project changed how I think about AI systems.&lt;/p&gt;

&lt;p&gt;You don’t always need complex AI models&lt;br&gt;
System design matters more than tools&lt;br&gt;
Simplicity + clarity = better results&lt;/p&gt;

&lt;p&gt;And most importantly:&lt;/p&gt;

&lt;p&gt;Don’t overengineer just to “look advanced” ;)&lt;/p&gt;




&lt;p&gt;What I Would Improve Next&lt;/p&gt;

&lt;p&gt;Add real Google Maps integration&lt;br&gt;
Use actual real-time data from sensors&lt;br&gt;
Improve route optimization logic&lt;br&gt;
Add multilingual support&lt;/p&gt;




&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;This was not just about building a Solution.&lt;/p&gt;

&lt;p&gt;It was about:&lt;/p&gt;

&lt;p&gt;thinking like a product builder&lt;br&gt;
focusing on user experience&lt;br&gt;
balancing simplicity and intelligence&lt;/p&gt;

&lt;p&gt;If you are starting in AI or development:&lt;/p&gt;

&lt;p&gt;Start building systems, not just models.&lt;/p&gt;




&lt;p&gt;Thanks for reading 🙌&lt;br&gt;
Would love to hear your thoughts or feedback!&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #GoogleCloud #CloudRun #WebDevelopment #SystemDesign #LearningInPublic #BuildwithAI #PromptWarsVirtual
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbge9am1dio2e7zuqmoos.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbge9am1dio2e7zuqmoos.JPG" alt=" " width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cloud</category>
      <category>google</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
