<?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: Frank Mathew Sajan</title>
    <description>The latest articles on DEV Community by Frank Mathew Sajan (@frankmathewsajan).</description>
    <link>https://dev.to/frankmathewsajan</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%2F3226986%2F4e65dea6-f3a4-4358-8757-51c0c4ba80d7.png</url>
      <title>DEV Community: Frank Mathew Sajan</title>
      <link>https://dev.to/frankmathewsajan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/frankmathewsajan"/>
    <language>en</language>
    <item>
      <title>Building an Interactive Portfolio Map with Next.js &amp; Deploying to Google Cloud Run</title>
      <dc:creator>Frank Mathew Sajan</dc:creator>
      <pubDate>Sun, 01 Feb 2026 04:20:17 +0000</pubDate>
      <link>https://dev.to/frankmathewsajan/building-an-interactive-portfolio-map-with-nextjs-deploying-to-google-cloud-run-3hgp</link>
      <guid>https://dev.to/frankmathewsajan/building-an-interactive-portfolio-map-with-nextjs-deploying-to-google-cloud-run-3hgp</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/newyear2026"&gt;New Year, New You Portfolio Challenge Presented by Google AI&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  About Me
&lt;/h2&gt;

&lt;p&gt;I am &lt;strong&gt;Frank Mathew Sajan&lt;/strong&gt;, a Computer Science undergraduate at VIT-AP University specializing in Artificial Intelligence and Deep Learning. While my academic focus centers on AI, I maintain a deep passion for building &lt;strong&gt;clean, performant web experiences&lt;/strong&gt; that balance technical excellence with aesthetic appeal.&lt;/p&gt;

&lt;p&gt;I believe great software should be efficient, scalable, and beautiful—principles that guided every decision in this portfolio.&lt;/p&gt;

&lt;h2&gt;
  
  
  Portfolio
&lt;/h2&gt;


&lt;div class="ltag__cloud-run"&gt;
  &lt;iframe height="600px" src="https://itzfrank-250384070377.us-central1.run.app/"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Live on Google Cloud Run&lt;/strong&gt;: &lt;a href="https://itzfrank-250384070377.us-central1.run.app/" rel="noopener noreferrer"&gt;https://itzfrank-250384070377.us-central1.run.app/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Tech Stack
&lt;/h3&gt;

&lt;p&gt;I architected this portfolio using &lt;strong&gt;Next.js&lt;/strong&gt; with a pure &lt;strong&gt;client-side component&lt;/strong&gt; approach. This decision was intentional—for a portfolio site, I prioritized:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Blazing-fast performance&lt;/strong&gt; with static HTML/CSS/JS output&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero server-side overhead&lt;/strong&gt; for instant page loads&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simplified architecture&lt;/strong&gt; that's easier to reason about and maintain&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Standout Features
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Interactive Portfolio Map&lt;/strong&gt;&lt;br&gt;
The centerpiece of my portfolio is an &lt;strong&gt;interactive project visualization map&lt;/strong&gt; built with &lt;code&gt;react-d3-tree&lt;/code&gt;. Instead of a boring list of projects, visitors can explore my work through an interactive tree diagram that shows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Progress tracking&lt;/strong&gt; for each project (complete, in-progress, planned)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual hierarchy&lt;/strong&gt; of skills and technologies&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive nodes&lt;/strong&gt; that reveal project details on click&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smooth animations&lt;/strong&gt; powered by Framer Motion&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Dynamic Resume Generation&lt;/strong&gt;&lt;br&gt;
I built a complete &lt;strong&gt;LaTeX-to-PDF resume system&lt;/strong&gt; directly in the browser. The resume isn't just a static PDF—it's dynamically generated from React components and rendered in real-time. This means I can update my resume by simply editing React code, and it automatically compiles to a professional PDF format.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delightful Micro-interactions&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Lottie animations&lt;/strong&gt; throughout the site for smooth, lightweight visual feedback&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;External link modal&lt;/strong&gt; that warns users before navigating away (better UX)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smooth page transitions&lt;/strong&gt; using Framer Motion&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Responsive navigation&lt;/strong&gt; that adapts elegantly across devices&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glassmorphism effects&lt;/strong&gt; for modern, premium aesthetics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Firebase Analytics Integration&lt;/strong&gt;&lt;br&gt;
Implemented smart client-side Firebase Analytics with conditional loading to track visitor engagement without impacting build performance or bundle size.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Technical Challenge: Firebase → Cloud Run Migration
&lt;/h3&gt;

&lt;p&gt;The most significant technical achievement was migrating the deployment infrastructure from Firebase Hosting to &lt;strong&gt;Google Cloud Run&lt;/strong&gt; while maintaining the static site architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Multi-stage Docker Build&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stage 1: Node.js container builds the Next.js static export&lt;/li&gt;
&lt;li&gt;Stage 2: Lightweight Nginx Alpine container serves the static files&lt;/li&gt;
&lt;li&gt;Final result: A compact, production-ready container&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Smart Containerization&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nginx configuration optimized for:

&lt;ul&gt;
&lt;li&gt;Gzip compression for faster load times&lt;/li&gt;
&lt;li&gt;Aggressive caching for static assets&lt;/li&gt;
&lt;li&gt;Client-side routing support&lt;/li&gt;
&lt;li&gt;Security headers out of the box&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Serverless Deployment&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Deployed to Cloud Run with &lt;code&gt;dev-tutorial=devnewyear2026&lt;/code&gt; label&lt;/li&gt;
&lt;li&gt;Auto-scaling from 0 to handle traffic spikes&lt;/li&gt;
&lt;li&gt;Pay-per-request pricing (essentially free for a portfolio)&lt;/li&gt;
&lt;li&gt;Global CDN distribution&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Development Workflow
&lt;/h3&gt;

&lt;p&gt;Using &lt;strong&gt;Project IDX&lt;/strong&gt; (Google's next-gen AI-powered development environment), I streamlined the entire containerization and deployment process. What typically requires manual Dockerfile crafting, image building, registry pushing, and Cloud Run configuration was handled efficiently with modern tooling.&lt;/p&gt;

&lt;p&gt;The result: a &lt;strong&gt;production-grade, containerized frontend&lt;/strong&gt; deployed to serverless infrastructure—all while maintaining the simplicity of a static site.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm Most Proud Of
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. The Portfolio Map Experience&lt;/strong&gt;&lt;br&gt;
Creating an intuitive, interactive project visualization that's both informative and engaging. The progress tracking feature lets visitors see my journey at a glance—what I've built, what I'm working on, and what's coming next.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Infrastructure Without Complexity&lt;/strong&gt;&lt;br&gt;
Most developers see a dichotomy between "simple static hosting" and "powerful cloud infrastructure." This project proves you can have both.&lt;/p&gt;

&lt;p&gt;By containerizing a Next.js static export with Nginx and deploying it to Cloud Run, I achieved:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ &lt;strong&gt;Serverless scalability&lt;/strong&gt; (0 to millions of requests)&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Static site simplicity&lt;/strong&gt; (no server-side code to maintain)&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Enterprise-grade infrastructure&lt;/strong&gt; (Google's global network)&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Developer-friendly workflow&lt;/strong&gt; (single command deployment)&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Blazing-fast performance&lt;/strong&gt; across all devices&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3. Attention to Detail&lt;/strong&gt;&lt;br&gt;
Every interaction, every animation, every transition was intentionally designed. From the subtle Lottie animations to the external link warning modal, I focused on creating a &lt;strong&gt;premium user experience&lt;/strong&gt; that feels polished and professional.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Highlights
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Smart Firebase Analytics Integration&lt;/strong&gt;&lt;br&gt;
One challenge was maintaining Firebase Analytics in a static build. I solved this with conditional imports—analytics only loads client-side via dynamic imports, avoiding SSR build errors while preserving functionality.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Optimized Build Pipeline&lt;/strong&gt;&lt;br&gt;
The Dockerfile leverages layer caching intelligently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dependencies layer cached unless package.json changes&lt;/li&gt;
&lt;li&gt;Build artifacts optimized for minimal image size&lt;/li&gt;
&lt;li&gt;Multi-stage builds eliminate build-time dependencies from production&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;One-Command Deployment&lt;/strong&gt;&lt;br&gt;
Created automated deployment scripts (PowerShell &amp;amp; Bash) that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Build the Docker image&lt;/li&gt;
&lt;li&gt;Push to Google Container Registry&lt;/li&gt;
&lt;li&gt;Deploy to Cloud Run with proper labels&lt;/li&gt;
&lt;li&gt;Verify deployment and output the live URL&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Lessons Learned
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Containerization ≠ Complexity&lt;/strong&gt;: Docker can simplify deployments, not complicate them&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive visualizations matter&lt;/strong&gt;: The portfolio map gets more engagement than traditional project lists&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Micro-interactions elevate UX&lt;/strong&gt;: Small animations and transitions make a huge difference in perceived quality&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modern tooling accelerates development&lt;/strong&gt;: Project IDX and AI-assisted development significantly speed up complex tasks&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Future Enhancements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Custom domain mapping for cleaner URLs&lt;/li&gt;
&lt;li&gt;[ ] Cloud CDN integration for even faster global delivery&lt;/li&gt;
&lt;li&gt;[ ] GitHub Actions CI/CD for automated deployments&lt;/li&gt;
&lt;li&gt;[ ] More interactive visualizations and animations&lt;/li&gt;
&lt;li&gt;[ ] Dark mode toggle with smooth transitions&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Tech Stack Summary:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend&lt;/strong&gt;: Next.js 16, React 19, Tailwind CSS, Framer Motion&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment&lt;/strong&gt;: Google Cloud Run, Docker, Nginx&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visualizations&lt;/strong&gt;: react-d3-tree, Lottie animations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analytics&lt;/strong&gt;: Firebase Analytics&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Development&lt;/strong&gt;: Project IDX (Antigravity)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This portfolio represents my philosophy: &lt;strong&gt;technical excellence doesn't require over-engineering&lt;/strong&gt;. Sometimes the best solution is the elegant one that delights users while being simple under the hood.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>googleaichallenge</category>
      <category>portfolio</category>
      <category>gemini</category>
    </item>
  </channel>
</rss>
