<?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: Azri Ismail</title>
    <description>The latest articles on DEV Community by Azri Ismail (@aziar).</description>
    <link>https://dev.to/aziar</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%2F1044700%2F8211f947-fe11-42af-90ed-a2f36d0b6645.jpeg</url>
      <title>DEV Community: Azri Ismail</title>
      <link>https://dev.to/aziar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aziar"/>
    <language>en</language>
    <item>
      <title>Building a Modern Blog with Claude Code: From Concept to Deployment</title>
      <dc:creator>Azri Ismail</dc:creator>
      <pubDate>Sun, 03 Aug 2025 06:16:02 +0000</pubDate>
      <link>https://dev.to/aziar/building-a-modern-blog-with-claude-code-from-concept-to-deployment-11jl</link>
      <guid>https://dev.to/aziar/building-a-modern-blog-with-claude-code-from-concept-to-deployment-11jl</guid>
      <description>&lt;p&gt;As a Senior Software Engineer, I'm always exploring new tools and workflows that can accelerate development without compromising quality. Recently, I decided to build a personal blog application and chose to collaborate with Claude Code - Anthropic's AI assistant designed&lt;br&gt;
   specifically for software development. The results exceeded my expectations.&lt;/p&gt;
&lt;h2&gt;
  
  
  The Vision
&lt;/h2&gt;

&lt;p&gt;I wanted to create a modern, full-featured blog application with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 15&lt;/strong&gt; with the new App Router&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase&lt;/strong&gt; for PostgreSQL database and real-time features&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WorkOS&lt;/strong&gt; for enterprise-grade authentication&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TypeScript&lt;/strong&gt; for type safety&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind CSS&lt;/strong&gt; for responsive design&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Markdown&lt;/strong&gt; support for content creation&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Why Claude Code?
&lt;/h2&gt;

&lt;p&gt;Claude Code isn't just another AI chatbot - it's specifically designed for software development with access to tools that can read files, execute code, manage dependencies, and even commit changes. What attracted me was its ability to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Understand entire project contexts&lt;/strong&gt; by reading multiple files&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execute commands&lt;/strong&gt; and see real results&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make systematic changes&lt;/strong&gt; across multiple files&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Handle complex multi-step tasks&lt;/strong&gt; autonomously&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debug issues&lt;/strong&gt; by examining logs and error messages&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  The Development Process
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Planning and Architecture
&lt;/h3&gt;

&lt;p&gt;Claude Code helped me break down the project into manageable tasks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Database schema design&lt;/li&gt;
&lt;li&gt;Authentication flow architecture&lt;/li&gt;
&lt;li&gt;API route structure&lt;/li&gt;
&lt;li&gt;Component hierarchy&lt;/li&gt;
&lt;li&gt;State management strategy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of spending hours planning, we had a comprehensive roadmap in minutes.&lt;/p&gt;
&lt;h3&gt;
  
  
  Database Design
&lt;/h3&gt;

&lt;p&gt;One of the most impressive aspects was how Claude Code designed a complete database schema with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;  &lt;span class="c1"&gt;-- Users table with role-based access&lt;/span&gt;
  &lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;users&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="n"&gt;UUID&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;uuid_generate_v4&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;PRIMARY&lt;/span&gt; &lt;span class="k"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;email&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;UNIQUE&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;avatar_url&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="k"&gt;role&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="s1"&gt;'reader'&lt;/span&gt; &lt;span class="k"&gt;CHECK&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;role&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'admin'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'author'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'reader'&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt;
    &lt;span class="n"&gt;workos_user_id&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;UNIQUE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;created_at&lt;/span&gt; &lt;span class="nb"&gt;TIMESTAMP&lt;/span&gt; &lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="nb"&gt;TIME&lt;/span&gt; &lt;span class="k"&gt;ZONE&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;NOW&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="n"&gt;updated_at&lt;/span&gt; &lt;span class="nb"&gt;TIMESTAMP&lt;/span&gt; &lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="nb"&gt;TIME&lt;/span&gt; &lt;span class="k"&gt;ZONE&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;NOW&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="c1"&gt;-- Posts table with full blog functionality&lt;/span&gt;
  &lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;posts&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="n"&gt;UUID&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;uuid_generate_v4&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;PRIMARY&lt;/span&gt; &lt;span class="k"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;slug&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;UNIQUE&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;content&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="k"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;excerpt&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;published&lt;/span&gt; &lt;span class="nb"&gt;BOOLEAN&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="k"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;author_id&lt;/span&gt; &lt;span class="n"&gt;UUID&lt;/span&gt; &lt;span class="k"&gt;REFERENCES&lt;/span&gt; &lt;span class="n"&gt;users&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="k"&gt;DELETE&lt;/span&gt; &lt;span class="k"&gt;CASCADE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;tags&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;[],&lt;/span&gt;
    &lt;span class="n"&gt;featured_image&lt;/span&gt; &lt;span class="nb"&gt;TEXT&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;reading_time&lt;/span&gt; &lt;span class="nb"&gt;INTEGER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;created_at&lt;/span&gt; &lt;span class="nb"&gt;TIMESTAMP&lt;/span&gt; &lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="nb"&gt;TIME&lt;/span&gt; &lt;span class="k"&gt;ZONE&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;NOW&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
    &lt;span class="n"&gt;updated_at&lt;/span&gt; &lt;span class="nb"&gt;TIMESTAMP&lt;/span&gt; &lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="nb"&gt;TIME&lt;/span&gt; &lt;span class="k"&gt;ZONE&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="n"&gt;NOW&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It even included Row Level Security (RLS) policies, indexes for performance, and automatic triggers for updated_at timestamps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Authentication Integration
&lt;/h3&gt;

&lt;p&gt;Integrating WorkOS authentication was complex, but Claude Code handled:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setting up WorkOS client configuration&lt;/li&gt;
&lt;li&gt;Creating authentication API routes (&lt;code&gt;/api/auth/login&lt;/code&gt;, &lt;code&gt;/api/auth/callback&lt;/code&gt;, &lt;code&gt;/api/auth/logout&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Managing session cookies securely&lt;/li&gt;
&lt;li&gt;Implementing role-based access control&lt;/li&gt;
&lt;li&gt;Debugging authentication flow issues&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When we encountered RLS policy violations, Claude Code quickly identified the issue and switched to using the Supabase service role for user creation while maintaining security.&lt;/p&gt;

&lt;h3&gt;
  
  
  Full-Stack Implementation
&lt;/h3&gt;

&lt;p&gt;The AI assistant created:&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;RESTful endpoints for posts (GET, POST, PUT, DELETE)&lt;/li&gt;
&lt;li&gt;User management and authentication&lt;/li&gt;
&lt;li&gt;Pagination and filtering logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Frontend Components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Responsive header with user authentication&lt;/li&gt;
&lt;li&gt;Post cards with author information&lt;/li&gt;
&lt;li&gt;Pagination component&lt;/li&gt;
&lt;li&gt;User profile dropdown&lt;/li&gt;
&lt;li&gt;Admin dashboard for content creation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;TypeScript Integration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Complete type definitions for database schemas&lt;/li&gt;
&lt;li&gt;Strongly-typed API responses&lt;/li&gt;
&lt;li&gt;Type-safe component props&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Real-Time Problem Solving
&lt;/h2&gt;

&lt;p&gt;The most impressive aspect was Claude Code's ability to debug issues in real-time:&lt;/p&gt;

&lt;h3&gt;
  
  
  Issue: Environment Variables
&lt;/h3&gt;

&lt;p&gt;When the build failed due to placeholder environment variables, Claude Code immediately identified the problem and provided both temporary fixes for development and guidance for production setup.&lt;/p&gt;

&lt;h3&gt;
  
  
  Issue: RLS Policy Violations
&lt;/h3&gt;

&lt;p&gt;When user creation failed due to Row Level Security policies, Claude Code:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Diagnosed the exact error&lt;/li&gt;
&lt;li&gt;Explained why it was happening&lt;/li&gt;
&lt;li&gt;Provided multiple solution approaches&lt;/li&gt;
&lt;li&gt;Implemented the fix using the service role&lt;/li&gt;
&lt;li&gt;Updated the policies to work with external authentication&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Issue: WorkOS API Integration
&lt;/h3&gt;

&lt;p&gt;When authentication callbacks failed due to incorrect API usage, Claude Code quickly found the correct method signatures and updated the implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Performance and Quality
&lt;/h2&gt;

&lt;p&gt;The resulting application is production-ready with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fast build times (successful TypeScript compilation)&lt;/li&gt;
&lt;li&gt;Clean code architecture following Next.js 15 best practices&lt;/li&gt;
&lt;li&gt;Responsive design that works on all devices&lt;/li&gt;
&lt;li&gt;SEO optimization with proper meta tags and structured URLs&lt;/li&gt;
&lt;li&gt;Security best practices with httpOnly cookies and CSRF protection&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Development Speed
&lt;/h2&gt;

&lt;p&gt;What would typically take me several days of research, setup, and implementation was completed in a few hours:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Initial setup: 30 minutes&lt;/li&gt;
&lt;li&gt;Database schema: 20 minutes&lt;/li&gt;
&lt;li&gt;Authentication flow: 45 minutes&lt;/li&gt;
&lt;li&gt;UI components: 1 hour&lt;/li&gt;
&lt;li&gt;API endpoints: 30 minutes&lt;/li&gt;
&lt;li&gt;Debugging and fixes: 30 minutes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Total: ~3.5 hours for a full-stack application&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Takeaways
&lt;/h2&gt;

&lt;p&gt;What Worked Well&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Systematic approach: Claude Code broke complex tasks into manageable steps&lt;/li&gt;
&lt;li&gt;Context awareness: It understood the entire project structure and made consistent changes&lt;/li&gt;
&lt;li&gt;Best practices: The generated code followed modern development standards&lt;/li&gt;
&lt;li&gt;Problem-solving: Real-time debugging and solution implementation&lt;/li&gt;
&lt;li&gt;Documentation: Automatic generation of setup instructions and code comments&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Considerations
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;AI Guidance vs. Learning: While incredibly efficient, ensure you understand the generated code&lt;/li&gt;
&lt;li&gt;Customization: The AI provides solid foundations that you can customize further&lt;/li&gt;
&lt;li&gt;Verification: Always review and test AI-generated code thoroughly&lt;/li&gt;
&lt;li&gt;Architecture Decisions: AI excels at implementation but human oversight is valuable for high-level decisions&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Future of AI-Assisted Development
&lt;/h2&gt;

&lt;p&gt;This experience convinced me that AI-assisted development isn't about replacing developers - it's about augmenting our capabilities. Claude Code handled the repetitive, boilerplate work while I focused on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Architecture decisions&lt;/li&gt;
&lt;li&gt;Business logic requirements&lt;/li&gt;
&lt;li&gt;User experience considerations&lt;/li&gt;
&lt;li&gt;Code review and validation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building this blog with Claude Code was a glimpse into the future of software development. The combination of human creativity and AI efficiency resulted in a high-quality application developed in record time.&lt;/p&gt;

&lt;p&gt;The blog you're reading right now was built using this exact process, and the irony isn't lost on me that I'm using an AI-assisted blog to write about AI-assisted development!&lt;/p&gt;

&lt;p&gt;For developers curious about AI-assisted development, I highly recommend trying Claude Code for your next project. Just remember: the AI is a powerful tool, but the developer's judgment, creativity, and understanding remain irreplaceable.&lt;/p&gt;




&lt;h2&gt;
  
  
  Next Steps
&lt;/h2&gt;

&lt;p&gt;In future posts, I'll dive deeper into specific aspects of this development process, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Advanced Supabase patterns and RLS policies&lt;/li&gt;
&lt;li&gt;WorkOS authentication best practices&lt;/li&gt;
&lt;li&gt;Next.js 15 App Router optimization techniques&lt;/li&gt;
&lt;li&gt;TypeScript patterns for full-stack applications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stay tuned, and feel free to reach out if you have questions about AI-assisted development!&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>supabase</category>
      <category>vibecoding</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
