SaaS Architecture Guide
From idea to production, in reading order: what to read at each step and why, with lessons from 80+ projects.
1. Architecture decisions
How to think about system architecture, choose the right stack, and design for scale from day one.
- Is my AI-built app safe to launch? A 15-minute check
A 12-point security checklist for a vibe-coded app from Lovable, Bolt or Cursor.
- Do you need a developer if AI can build your app?
Often not yet: AI alone is enough for a prototype.
- Before you build an MVP: the questions I ask first
Seven questions to ask before building an MVP: who pays, the one job, what to cut from version one, what to buy instead, and what never gets cut.
- What your SaaS needs before its first feature, and why you shouldn't pay for it twice
Should your MVP use a SaaS boilerplate? With accounts, teams or payments, usually yes.
- How much does a SaaS MVP cost in 2027?
A professionally built SaaS MVP takes 4–12 weeks in 2027.
- How to hire a developer to take over your AI-built app
Hiring a developer to take over your AI-built app? The red flags in a proposal, the green flags, three questions to ask and a safe first week.
- What a code audit checks in an AI-built app: my checklist, run on my own repo
My code audit checklist, run on mig, an open-source scheduler agents work on: 11 scanner alerts triaged, a lost cancellation, a flaky test, the fix order.
- Fixed price or hourly: how I decide for your project
I work fixed price when the scope is fixed and hourly when it is open-ended.
- Cost-Disciplined SaaS Infrastructure: Managed Cloud, Dedicated, or Hybrid?
A founder-readable framework for choosing managed cloud, dedicated or hybrid SaaS infrastructure by workload, team, compliance, recovery and total cost.
- Code & Security Audit, With a Fix Roadmap (From $1,500)
I check your app's code and security and say what to fix first, including apps built with Lovable, Supabase, Cursor or Claude Code.
- Is my AI-built app safe to launch? A 15-minute check
2. Building the MVP
Going from napkin sketch to production. Real projects I've built.
- SmartLite
Built solo in 3 months; about 200 lamp poles in production since 2024.
- FoodRazor
Scaled across 10 countries and hundreds of restaurants; acquired in 2023
- Corecircle
Scaled to 200K+ users; acquired in 2025
- Truth or Dare (DareChat)
~40K monthly active users — live at darechat.me with a Swagger-documented public REST API at darechat.me/api.
- Roley — Make a Movie!
Built the MVP end to end. The client changed course to an offline business just before launch.
- Connectful
Showed fast growth during the COVID-19 pandemic
- All client work
- SaaS MVP, From Idea to Production (From $8,000)
I build your product from idea to a live app on servers you own. Backends, AI features and MCP servers are built the same way.
- SmartLite
3. Infrastructure and cost
Choose infrastructure from measured load, recovery needs, compliance, team capacity, and budget.
- How I run production
Repeatable deployment, observability, recovery, security, and cost control after launch.
- rostok
One-command scaffolder for a self-hosted homelab.
- How I run production
4. AI integration
Add LLM capabilities to your SaaS with production-grade architecture.
- Designing screens with AI expert roles: what each one caught
Before an AI agent builds a screen, four AI roles review the plan; a fifth checks the result in a browser.
- My AI coding agent setup: one rules file, a worktree per task, and a reviewer that breaks the code
How I run several AI coding agents at once: one rules source for three harnesses, a worktree per task, and a reviewer that breaks code to test the tests.
- Code formatting and linting in 2026: deno fmt, deno lint, a CI gate, and AI agents held to it
My formatting and linting setup: deno fmt and deno lint, a CI step that blocks the merge, AI agents held to the same check, what to pick on Node or Bun.
- Adding an MCP server to your SaaS: what it takes
What an MCP server for your SaaS exposes, how it checks who is asking, what can go wrong and what hosting takes, shown on my open-source caldav-mcp.
- I tested Trail-code on my Claude Code agents. They ignored the map.
Trail-code promises cheaper coding agents through a code map.
- Claude Code vs MiniMax M3: 30 days against 3 months, in merged pull requests
Three months on MiniMax M3, then 30 days on Claude Code: 19 times more merged PRs a day.
- Opus 5.5 vs Sonnet 5: the pricier model wrote my code for about half the cost
I priced five days of my agent transcripts.
- Building an MCP server in TypeScript without the SDK
How caldav-mcp speaks the Model Context Protocol in about 190 lines of its own JSON-RPC: tools, stdio and Streamable HTTP, narrow permissions and tests.
- How ChatGPT Can Help You Design System Architecture for Your Applications
ChatGPT as your architecture copilot: generate system diagrams, compare databases, spot security gaps before they ship.
- AI integration and MCP servers, built under SaaS MVP (From $8,000)
Custom MCP servers that let your AI assistant read, write and act inside your own tools — CRM, database, email, calendar, internal APIs — shipped as a self-hosted Docker image you own.
- Designing screens with AI expert roles: what each one caught
Need help with your architecture?
Book a free 30-minute intro call. No pitch, just advice.
Book a free 30-minute call