[{"data":1,"prerenderedAt":639},["ShallowReactive",2],{"article/from-vibe-code-to-production-release":3},{"_path":4,"_draft":5,"_partial":5,"_locale":6,"title":7,"description":8,"featured":9,"author":10,"categories":11,"slug":12,"image":13,"imageAlt":23,"published":9,"draft":5,"createdAt":24,"updatedAt":24,"faqs":25,"body":41,"_type":638,"isInteractive":5,"interactiveConfig":-1},"/articles/from-vibe-code-to-production-release",false,"","From Vibe Code to Production: Ship Your First SaaS Is Out","Ship Your First SaaS is out now: 47 chapters taking an AI prototype to production on Hetzner, Coolify, Postgres RLS, Stripe, SES, and BullMQ.",true,"Thomas Findlay","AI, Typescript, Javascript","from-vibe-code-to-production-release",[14,15,16,17,18,19,20,21,22],"/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-640w.avif","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-1024w.avif","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-1920w.avif","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-640w.webp","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-1024w.webp","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-1920w.webp","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-640w.png","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-1024w.png","/images/articles/from-vibe-code-to-production-release/from-vibe-code-to-production-release-1920w.png","Matte dark hardcover edition of Ship Your First SaaS resting on a charcoal studio surface beside out-of-focus glass server blocks","2026-12-03T00:00:00",[26,29,32,35,38],{"question":27,"answer":28},"What is From Vibe Code to Production: Ship Your First SaaS?","Ship Your First SaaS is the first book in the From Vibe Code to Production trilogy, released on November 30, 2026. Across 47 chapters, it takes one AI-assisted project called ContentForge from a local prototype to a deployed multi-tenant SaaS on Hetzner and Coolify with Postgres Row-Level Security, Stripe billing, AWS SES email, and BullMQ background jobs. It ships as a zip containing the PDF, EPUB, and the chapter-tagged ContentForge Git bundle.",{"question":30,"answer":31},"How does Ship Your First SaaS compare to buying a SaaS boilerplate or asking an AI agent directly?","A SaaS boilerplate hands you code you did not write and cannot debug when a webhook fails or a customer reports a leak. A fresh AI chat session has no architectural memory across weeks of work and rarely volunteers production safeguards like transaction-scoped RLS or idempotent Stripe handlers until after a bug ships. Ship Your First SaaS teaches the why behind every architectural choice and pairs the book with a chapter-tagged repository you can branch from at any point.",{"question":33,"answer":34},"How is From Vibe Code to Production different from the React and Vue Road To Enterprise books?","The React and Vue books teach framework architecture, state management, and component patterns for developers already shipping in those ecosystems. From Vibe Code to Production is about taking an AI-built app all the way to a live, paying SaaS product, where infrastructure, tenant isolation, billing, email, and verification matter more than any single frontend framework. Pick the framework books for enterprise React or Vue depth, and pick this series if your goal is shipping and running a real SaaS.",{"question":36,"answer":37},"Can I read a free chapter of From Vibe Code to Production before buying?","Yes. Chapter 2, Real Production Disasters, is free to read in your browser with no email wall at theroadtoenterprise.com/books/from-vibe-code-to-production/free-chapter. You can also request Chapter 5, Your Operational Stack, as a free PDF on the series page if you want to inspect the full toolchain setup before deciding.",{"question":39,"answer":40},"When do The AI Content Engine and Make It Survive Production release?","Ship Your First SaaS is available to download immediately, and the next two volumes in the trilogy are open for pre-order. The AI Content Engine is scheduled for around January 2027, followed by Make It Survive Production around March 2027. Bundle buyers download Ship Your First SaaS immediately and receive both remaining books on release day with lifetime updates.",{"type":42,"children":43,"toc":629},"root",[44,65,72,123,129,134,139,158,169,175,188,193,396,401,480,507,513,518,523,534,540,549,587,605,611],{"type":45,"tag":46,"props":47,"children":48},"element","p",{},[49,56,58,63],{"type":45,"tag":50,"props":51,"children":52},"em",{},[53],{"type":54,"value":55},"text","Ship Your First SaaS",{"type":54,"value":57},", the opening volume of the ",{"type":45,"tag":50,"props":59,"children":60},{},[61],{"type":54,"value":62},"From Vibe Code to Production",{"type":54,"value":64}," trilogy, shipped on November 30, 2026. Across 47 chapters, it takes an AI-generated prototype from localhost to a live, multi-tenant SaaS on infrastructure you own, charging cards, sending email, and isolating tenant data in PostgreSQL. Every chapter pairs with a Git tag in the ContentForge repo, so you can inspect each diff and verify every feature in a real browser before shipping.",{"type":45,"tag":66,"props":67,"children":69},"h2",{"id":68},"tldr-what-shipped-in-from-vibe-code-to-production",[70],{"type":54,"value":71},"TL;DR: what shipped in From Vibe Code to Production",{"type":45,"tag":46,"props":73,"children":74},{},[75,79,81,88,90,96,98,105,107,113,115,121],{"type":45,"tag":50,"props":76,"children":77},{},[78],{"type":54,"value":55},{"type":54,"value":80}," is out now in PDF and EPUB alongside the full chapter-tagged ContentForge repository as a Git bundle. It covers nine parts across 47 chapters: separating staging and production on Hetzner and Coolify, enforcing multi-tenant isolation with raw Postgres Row-Level Security (",{"type":45,"tag":82,"props":83,"children":85},"code",{"className":84},[],[86],{"type":54,"value":87},"CREATE POLICY",{"type":54,"value":89}," plus transaction-scoped ",{"type":45,"tag":82,"props":91,"children":93},{"className":92},[],[94],{"type":54,"value":95},"set_config()",{"type":54,"value":97},"), wiring Stripe checkout with idempotent webhooks, sending transactional mail over AWS SES with React Email, running BullMQ workers on your own box, and proving features with Playwright browser checks. You can read ",{"type":45,"tag":99,"props":100,"children":102},"a",{"href":101},"/books/from-vibe-code-to-production/free-chapter",[103],{"type":54,"value":104},"Chapter 2, Real Production Disasters",{"type":54,"value":106},", free in your browser with no email required, or grab the book or three-book bundle on the ",{"type":45,"tag":99,"props":108,"children":110},{"href":109},"/books/from-vibe-code-to-production",[111],{"type":54,"value":112},"From Vibe Code to Production series page",{"type":54,"value":114}," with code ",{"type":45,"tag":82,"props":116,"children":118},{"className":117},[],[119],{"type":54,"value":120},"LAUNCH_SALE",{"type":54,"value":122}," for 25% off.",{"type":45,"tag":66,"props":124,"children":126},{"id":125},"why-vibe-coded-prototypes-break-when-real-users-arrive",[127],{"type":54,"value":128},"Why vibe-coded prototypes break when real users arrive",{"type":45,"tag":46,"props":130,"children":131},{},[132],{"type":54,"value":133},"Generating a working demo with Cursor, Claude Code, or v0 takes an afternoon. Surviving a real customer, a real payment, and a real attacker is where almost every AI-built prototype falls apart.",{"type":45,"tag":46,"props":135,"children":136},{},[137],{"type":54,"value":138},"AI coding agents optimize for the happy path on localhost because their training data is full of tutorial snippets that fit in one file. When you ask an agent to wire up auth, billing, or a database table, it rarely volunteers the unglamorous layers that keep a live product upright: staging-to-production credential separation, database-enforced tenant isolation, idempotent webhook processing, bounce handling, or automated restore drills. You only discover what is missing when something breaks in front of paying users.",{"type":45,"tag":46,"props":140,"children":141},{},[142,144,148,150,156],{"type":54,"value":143},"We documented five of those failures in ",{"type":45,"tag":99,"props":145,"children":146},{"href":101},[147],{"type":54,"value":104},{"type":54,"value":149},", all from 2025 and early 2026. In May 2025, security researcher Matt Palmer disclosed ",{"type":45,"tag":82,"props":151,"children":153},{"className":152},[],[154],{"type":54,"value":155},"nopol",{"type":54,"value":157}," (CVE-2025-48757, CVSS 9.3), showing over 170 public Lovable apps exposing customer and billing tables because Supabase Row-Level Security policies were missing or incomplete. Two months later, in July 2025, a Replit coding agent ignored an explicit code freeze and wiped a production database because development and production shared the same blast radius. The demo was never the hard part.",{"type":45,"tag":46,"props":159,"children":160},{},[161,163,167],{"type":54,"value":162},"I spent two years pairing with AI coding agents on real production systems: multi-tenant SaaS apps, billing pipelines, RAG features, and a multi-locale content engine. AI-assisted development cut feature delivery time in half, yet it also produced subtle failures that would never survive a security review unless an engineer stepped in with explicit guardrails. ",{"type":45,"tag":50,"props":164,"children":165},{},[166],{"type":54,"value":62},{"type":54,"value":168}," is the playbook I wrote to close that gap.",{"type":45,"tag":66,"props":170,"children":172},{"id":171},"what-is-inside-ship-your-first-saas-all-47-chapters",[173],{"type":54,"value":174},"What is inside Ship Your First SaaS (all 47 chapters)",{"type":45,"tag":46,"props":176,"children":177},{},[178,180,186],{"type":54,"value":179},"Instead of teaching disconnected toy examples, the entire book builds one real product from start to finish: ",{"type":45,"tag":181,"props":182,"children":183},"strong",{},[184],{"type":54,"value":185},"ContentForge",{"type":54,"value":187},", a multi-tenant content SaaS that takes source material in, generates and reviews drafts in your voice, and publishes them to WordPress, Ghost, or a webhook.",{"type":45,"tag":46,"props":189,"children":190},{},[191],{"type":54,"value":192},"By Chapter 16, your copy of ContentForge is live over HTTPS on a Hetzner server you own, with a CI gate standing in front of every deploy. The remaining chapters turn that skeleton into a product ready for its first paying customer.",{"type":45,"tag":194,"props":195,"children":196},"table",{},[197,221],{"type":45,"tag":198,"props":199,"children":200},"thead",{},[201],{"type":45,"tag":202,"props":203,"children":204},"tr",{},[205,211,216],{"type":45,"tag":206,"props":207,"children":208},"th",{},[209],{"type":54,"value":210},"Part",{"type":45,"tag":206,"props":212,"children":213},{},[214],{"type":54,"value":215},"Focus",{"type":45,"tag":206,"props":217,"children":218},{},[219],{"type":54,"value":220},"What you build and prove",{"type":45,"tag":222,"props":223,"children":224},"tbody",{},[225,244,262,280,306,324,342,360,378],{"type":45,"tag":202,"props":226,"children":227},{},[228,234,239],{"type":45,"tag":229,"props":230,"children":231},"td",{},[232],{"type":54,"value":233},"1. The trap",{"type":45,"tag":229,"props":235,"children":236},{},[237],{"type":54,"value":238},"Why AI prototypes fail",{"type":45,"tag":229,"props":240,"children":241},{},[242],{"type":54,"value":243},"Real 2025 and 2026 production disasters and the exact engineering layer that stops each one",{"type":45,"tag":202,"props":245,"children":246},{},[247,252,257],{"type":45,"tag":229,"props":248,"children":249},{},[250],{"type":54,"value":251},"2. Foundation",{"type":45,"tag":229,"props":253,"children":254},{},[255],{"type":54,"value":256},"Workflow and secrets",{"type":45,"tag":229,"props":258,"children":259},{},[260],{"type":54,"value":261},"Claude Code conventions, architecture plans, and strict secret separation",{"type":45,"tag":202,"props":263,"children":264},{},[265,270,275],{"type":45,"tag":229,"props":266,"children":267},{},[268],{"type":54,"value":269},"3. Own your infrastructure",{"type":45,"tag":229,"props":271,"children":272},{},[273],{"type":54,"value":274},"Hetzner + Coolify",{"type":45,"tag":229,"props":276,"children":277},{},[278],{"type":54,"value":279},"Separate staging and production servers, private Postgres, HTTPS, and CI deploy gates",{"type":45,"tag":202,"props":281,"children":282},{},[283,288,293],{"type":45,"tag":229,"props":284,"children":285},{},[286],{"type":54,"value":287},"4. SaaS skeleton",{"type":45,"tag":229,"props":289,"children":290},{},[291],{"type":54,"value":292},"Core multi-tenant app",{"type":45,"tag":229,"props":294,"children":295},{},[296,298,304],{"type":54,"value":297},"Auth, raw Postgres RLS via ",{"type":45,"tag":82,"props":299,"children":301},{"className":300},[],[302],{"type":54,"value":303},"withWorkspace",{"type":54,"value":305},", uploads, failure-proving tests, and recorded Playwright browser checks",{"type":45,"tag":202,"props":307,"children":308},{},[309,314,319],{"type":45,"tag":229,"props":310,"children":311},{},[312],{"type":54,"value":313},"5. Money",{"type":45,"tag":229,"props":315,"children":316},{},[317],{"type":54,"value":318},"Stripe billing",{"type":45,"tag":229,"props":320,"children":321},{},[322],{"type":54,"value":323},"Checkout, idempotent webhook handlers, dunning, tax configuration, and dispute evidence",{"type":45,"tag":202,"props":325,"children":326},{},[327,332,337],{"type":45,"tag":229,"props":328,"children":329},{},[330],{"type":54,"value":331},"6. Email",{"type":45,"tag":229,"props":333,"children":334},{},[335],{"type":54,"value":336},"Transactional delivery",{"type":45,"tag":229,"props":338,"children":339},{},[340],{"type":54,"value":341},"AWS SES, React Email templates, domain auth, and bounce suppression",{"type":45,"tag":202,"props":343,"children":344},{},[345,350,355],{"type":45,"tag":229,"props":346,"children":347},{},[348],{"type":54,"value":349},"7. Background work",{"type":45,"tag":229,"props":351,"children":352},{},[353],{"type":54,"value":354},"Queues and workers",{"type":45,"tag":229,"props":356,"children":357},{},[358],{"type":54,"value":359},"BullMQ running on your own box for retries, scheduled publishing, and long-running jobs",{"type":45,"tag":202,"props":361,"children":362},{},[363,368,373],{"type":45,"tag":229,"props":364,"children":365},{},[366],{"type":54,"value":367},"8. The product loop",{"type":45,"tag":229,"props":369,"children":370},{},[371],{"type":54,"value":372},"ContentForge end to end",{"type":45,"tag":229,"props":374,"children":375},{},[376],{"type":54,"value":377},"Source ingestion, voice-matched drafts, human review workflow, and publishing destinations",{"type":45,"tag":202,"props":379,"children":380},{},[381,386,391],{"type":45,"tag":229,"props":382,"children":383},{},[384],{"type":54,"value":385},"9. Ship it",{"type":45,"tag":229,"props":387,"children":388},{},[389],{"type":54,"value":390},"Launch readiness",{"type":45,"tag":229,"props":392,"children":393},{},[394],{"type":54,"value":395},"Health checks, status page, log inspection, and launch checklist",{"type":45,"tag":46,"props":397,"children":398},{},[399],{"type":54,"value":400},"Three decisions set this book apart from standard SaaS tutorials and boilerplate kits:",{"type":45,"tag":402,"props":403,"children":404},"ul",{},[405,453,470],{"type":45,"tag":406,"props":407,"children":408},"li",{},[409,414,416,422,424,429,431,436,438,443,445,451],{"type":45,"tag":181,"props":410,"children":411},{},[412],{"type":54,"value":413},"Database-enforced tenant isolation.",{"type":54,"value":415}," Rather than trusting every API route to remember a ",{"type":45,"tag":82,"props":417,"children":419},{"className":418},[],[420],{"type":54,"value":421},"WHERE workspace_id = ?",{"type":54,"value":423}," clause, Chapter 21 writes raw Postgres ",{"type":45,"tag":82,"props":425,"children":427},{"className":426},[],[428],{"type":54,"value":87},{"type":54,"value":430}," rules and wraps tenant queries in a transaction helper (",{"type":45,"tag":82,"props":432,"children":434},{"className":433},[],[435],{"type":54,"value":303},{"type":54,"value":437},") that calls ",{"type":45,"tag":82,"props":439,"children":441},{"className":440},[],[442],{"type":54,"value":95},{"type":54,"value":444},". Even a buggy route or direct query cannot cross workspace boundaries. If you want a preview of that pattern on the blog, read ",{"type":45,"tag":99,"props":446,"children":448},{"href":447},"/blog/postgres-rls-multi-tenant-saas",[449],{"type":54,"value":450},"Postgres RLS for Multi-Tenant SaaS",{"type":54,"value":452},".",{"type":45,"tag":406,"props":454,"children":455},{},[456,461,463,469],{"type":45,"tag":181,"props":457,"children":458},{},[459],{"type":54,"value":460},"Predictable hosting under $30/month.",{"type":54,"value":462}," Running 1,000 users on managed serverless stacks crosses $216/month and can spike overnight during a traffic surge. Running on a EUR 14 Hetzner box managed with Coolify keeps your bill flat, boring, and yours. We broke down the numbers in ",{"type":45,"tag":99,"props":464,"children":466},{"href":465},"/blog/hetzner-coolify-vs-vercel-saas",[467],{"type":54,"value":468},"Hetzner + Coolify vs Vercel for SaaS Hosting in 2026",{"type":54,"value":452},{"type":45,"tag":406,"props":471,"children":472},{},[473,478],{"type":45,"tag":181,"props":474,"children":475},{},[476],{"type":54,"value":477},"Proof in a real browser before shipping.",{"type":54,"value":479}," An AI agent saying \"done\" is not verification. Every feature is backed by tests that actually fail when the protected line breaks, followed by a headless Playwright run against the live app so you see the behavior pass with your own eyes.",{"type":45,"tag":46,"props":481,"children":482},{},[483,485,491,493,499,501,505],{"type":54,"value":484},"If you have already read our blog guides on ",{"type":45,"tag":99,"props":486,"children":488},{"href":487},"/blog/stripe-webhook-idempotency-production",[489],{"type":54,"value":490},"Stripe webhook idempotency",{"type":54,"value":492}," or ",{"type":45,"tag":99,"props":494,"children":496},{"href":495},"/blog/vibe-coding-vs-production-coding-react",[497],{"type":54,"value":498},"AI-generated React anti-patterns",{"type":54,"value":500},", you already know the depth to expect. The difference in ",{"type":45,"tag":50,"props":502,"children":503},{},[504],{"type":54,"value":55},{"type":54,"value":506}," is that every piece fits into one working codebase instead of living in separate articles.",{"type":45,"tag":66,"props":508,"children":510},{"id":509},"why-a-chapter-tagged-repo-matters-more-than-another-prompt",[511],{"type":54,"value":512},"Why a chapter-tagged repo matters more than another prompt",{"type":45,"tag":46,"props":514,"children":515},{},[516],{"type":54,"value":517},"You might ask why you would pay for a book when Claude Code or Cursor can answer any question on demand. The short answer is session amnesia.",{"type":45,"tag":46,"props":519,"children":520},{},[521],{"type":54,"value":522},"An AI coding session starts cold every time you open a new thread. It does not remember why you chose a specific Stripe idempotency scheme three weeks ago, it does not warn you that a helper function bypasses your Postgres RLS transaction wrapper, and it cannot hand you a clean Git history showing how each subsystem layers onto the last. Every time you let an agent improvise architecture from scratch, you accumulate hidden inconsistencies that surface months later.",{"type":45,"tag":46,"props":524,"children":525},{},[526,528,532],{"type":54,"value":527},"When you buy ",{"type":45,"tag":50,"props":529,"children":530},{},[531],{"type":54,"value":55},{"type":54,"value":533},", you download one zip archive containing the book in PDF and EPUB plus the complete ContentForge repository packaged as a single Git bundle. Every chapter has its own Git tag, so you can clone the repository with one command, jump to any chapter's exact state, diff your own code against the reference implementation, and feed the repo's real structure to your AI agent as durable context. Much cleaner than stitching together five YouTube tutorials and hoping the versions agree.",{"type":45,"tag":66,"props":535,"children":537},{"id":536},"how-the-rest-of-the-from-vibe-code-to-production-trilogy-fits-together",[538],{"type":54,"value":539},"How the rest of the From Vibe Code to Production trilogy fits together",{"type":45,"tag":46,"props":541,"children":542},{},[543,547],{"type":45,"tag":50,"props":544,"children":545},{},[546],{"type":54,"value":55},{"type":54,"value":548}," gets ContentForge live and ready for paying customers. Two companion volumes follow on the same codebase and the same Hetzner box, so you never have to throw away what you built:",{"type":45,"tag":550,"props":551,"children":552},"ol",{},[553,566],{"type":45,"tag":406,"props":554,"children":555},{},[556,564],{"type":45,"tag":50,"props":557,"children":558},{},[559],{"type":45,"tag":181,"props":560,"children":561},{},[562],{"type":54,"value":563},"The AI Content Engine",{"type":54,"value":565}," (scheduled for around January 2027, 25 chapters): layers a fully autonomous, multi-locale SEO and LLM-SEO publishing pipeline onto the same EUR 14 server. It covers Fumadocs and MDX setup, an eight-stage pipeline with two human review gates, a humanizer pass that strips robotic phrasing, image generation and R2 storage, 14-locale publishing, and real per-article token cost budgets.",{"type":45,"tag":406,"props":567,"children":568},{},[569,577,579,585],{"type":45,"tag":50,"props":570,"children":571},{},[572],{"type":45,"tag":181,"props":573,"children":574},{},[575],{"type":54,"value":576},"Make It Survive Production",{"type":54,"value":578}," (scheduled for around March 2027, 32 chapters): hardens the running SaaS against the failure modes that hit after launch. Topics include RAG and MCP features inside your product, ",{"type":45,"tag":99,"props":580,"children":582},{"href":581},"/blog/prompt-injection-ai-features-production",[583],{"type":54,"value":584},"prompt injection defense based on the OWASP LLM Top 10",{"type":54,"value":586},", card-testing fraud protection with Turnstile and Stripe Radar, monthly backup restore drills, scaling beyond a single box, B2B security paperwork (DPA, CAIQ, Vanta paths), and incident postmortems.",{"type":45,"tag":46,"props":588,"children":589},{},[590,592,596,598,603],{"type":54,"value":591},"You can pick up ",{"type":45,"tag":50,"props":593,"children":594},{},[595],{"type":54,"value":55},{"type":54,"value":597}," on its own for $59 list price, or pre-order the three-book bundle at $149 list price (saving $28 compared to the $177 combined solo prices of $59, $49, and $69 before discounts). With the launch code ",{"type":45,"tag":82,"props":599,"children":601},{"className":600},[],[602],{"type":54,"value":120},{"type":54,"value":604},", you get 25% off across all three books and the bundle. Every purchase includes lifetime updates and a 30-day, no-questions-asked refund policy.",{"type":45,"tag":66,"props":606,"children":608},{"id":607},"start-with-the-free-chapter",[609],{"type":54,"value":610},"Start with the free chapter",{"type":45,"tag":46,"props":612,"children":613},{},[614,616,620,622,627],{"type":54,"value":615},"Do not take my word for the depth of the material before you read a page. Start with ",{"type":45,"tag":99,"props":617,"children":618},{"href":101},[619],{"type":54,"value":104},{"type":54,"value":621},", right in your browser with no email signup, or browse the full table of contents and launch pricing on the ",{"type":45,"tag":99,"props":623,"children":624},{"href":109},[625],{"type":54,"value":626},"From Vibe Code to Production page",{"type":54,"value":628},". If you have been sitting on an AI-built prototype that works on localhost and nowhere else, the gap between that demo and a real paying customer is smaller than it looks once you have the right sequence.",{"title":6,"searchDepth":630,"depth":630,"links":631},2,[632,633,634,635,636,637],{"id":68,"depth":630,"text":71},{"id":125,"depth":630,"text":128},{"id":171,"depth":630,"text":174},{"id":509,"depth":630,"text":512},{"id":536,"depth":630,"text":539},{"id":607,"depth":630,"text":610},"markdown",1796339680137]