Tech Decision One-Person Team 📅 2026-03-13 ✍️ CJ Kuo ⏱️ 18 min

1. Why I Took Tech Selection Seriously

I'm not an engineer. I'm a 23-year B2B sales professional. Before building the Coastline platform, my knowledge of "T3 Stack" was zero. Same for "tRPC."

But I know one thing: the wrong infrastructure choice costs far more than the technology itself.

I've watched too many early-stage founders choose a "cool" tech stack and discover six months later that it can't support their core feature set — forcing a full rewrite. That's not just a technical problem. It's a time problem, a money problem, a market timing problem.

So when I was choosing the technical foundation for the Coastline platform (mycoastline.ai), I didn't ask "which is most popular." I asked: Which option lets a non-coder use AI agents to build a CRM + Sales Pipeline + Community + Shop platform that won't need re-architecting for 3 years?

Document ID
COASTLINE-TECH-VQD-2026-001
Judges
5 AI Reviewers
Options Evaluated
4 Tech Stacks
Evaluation Criteria
12 Weighted Standards
Selected Stack
Stack 4: T3 Monorepo
Final Score
8.42 / 10

The answer took two days of AI agent collaboration to produce. This post is the complete record of that decision — not just "what I chose," but "why I chose it, and why the others weren't good enough."

2. SEMI E10-0304: Semiconductor-Grade Evaluation Methodology

In the semiconductor industry, selecting an equipment vendor doesn't rely on gut feeling or sales relationships. It relies on a rigorous Vendor Qualification Document (VQD) methodology.

My AI Technical Architect, Mike, adapted this framework to cloud infrastructure evaluation using WMCDA (Weighted Multi-Criteria Decision Analysis):

Scoring Formula: Final Score = Σ (Criterion Weight × Judge-Averaged Score) / Σ Weights 12 Evaluation Criteria (by weight): C1 Developer Experience (DX) 15% — AI agent development velocity C2 Type Safety & Bug Prevention 12% — Compile-time error protection C3 Database Capability 12% — CRM complex query requirements C4 Authentication & OAuth 10% — LINE Login (Taiwan market critical) C5 Total Cost of Ownership 10% — $0 to scale gradually C6 Vendor Lock-in Risk 8% — Migratable within 30 days C7 Real-time Capability 7% — Live sales pipeline updates C8 Deployment Simplicity 7% — Single git push to production C9 Asia-Pacific Performance 6% — Taiwan <200ms latency C10 Security & Compliance 5% — Taiwan PDPA, SOC 2 C11 Community & Ecosystem 5% — AI training data quality C12 Scalability 3% — 10,000+ users, no re-arch

All 12 criteria have explicit scoring rubrics (1-10), scored independently by 5 AI judges, then weighted and averaged. I intentionally gave "Developer Experience" the highest weight (15%), because AI agent development velocity directly determines how quickly ideas become products.

3. Four Tech Stack Options

My original choice was Stack 1 — Vercel + Railway + Fly.io. That was the decision on February 27, 2026. In early March, I revisited it, found it "too hasty," and commissioned this full VQD evaluation. Four stacks were assessed:

Stack Components Vendors 3-Year TCO Score Result
Stack 1 Vercel + Railway + Fly.io + Clerk 4 $5,160 7.18 Eliminated
Stack 2 Cloudflare Full Stack (Pages + Workers + D1) 1 $1,800 6.12 Disqualified (DB + Auth)
Stack 3 Supabase + Vercel (no Monorepo) 2 $3,900 7.84 Runner-up
Stack 4 ✓ T3 Monorepo (Turborepo + tRPC) + Supabase + Vercel 2 $3,000 8.42 ✅ Selected

Stack 1: Vercel + Railway + Fly.io (My Original Choice)

This was my initial instinct. Three well-known services with clear roles: Vercel for frontend, Railway for backend and database, Fly.io for containers and WebSocket. It looks reasonable — but the problem is, managing 3 vendors = 3 bills + 3 deployment pipelines + 3 failure points. Railway also suffered a major outage in January 2026, exposing infrastructure maturity issues. Score: 7.18. 3-year cost: $5,160.

Stack 2: Cloudflare Full Stack (Cheapest, but Fatal Flaws)

Cloudflare is highly attractive — single vendor, 330+ global PoPs (including Taipei), 3-year cost just $1,800. But it has two dealbreakers I couldn't accept:

Both are hard technical dealbreakers. Score: 6.12, last place.

Stack 3: Supabase + Vercel (Very Good, But Missing One Layer)

Stack 3 and Stack 4 use identical infrastructure (Supabase + Vercel). The only difference: Stack 3 lacks Turborepo Monorepo and tRPC. Without tRPC, frontend and backend types are separate — requiring manual synchronization. For AI-agent development, this is a significant quality risk. Score: 7.84. 3-year cost: $3,900.

4. Key Comparisons: Database, Auth, Deployment

Among the 12 evaluation criteria, three decisive differences determined the winner:

Database: PostgreSQL vs. SQLite

Coastline CRM requires 11 tables, complex JOIN queries, Row-Level Security (RLS), and full-text search. PostgreSQL supports all of these natively; Cloudflare D1 (SQLite) has multiple critical gaps — immediately disqualifying Stack 2. Supabase provides fully managed PostgreSQL with native RLS support: free tier at 500MB, Pro at $25/month with 8GB. Data stored in Tokyo for Taiwan latency <100ms.

Authentication: LINE Login and the Taiwan Requirement

LINE penetration in Taiwan exceeds 70%. My LINE community has 466 members who expect to sign in with their LINE accounts. This isn't "nice to have" — it's table stakes. Cloudflare Access: zero support. Supabase Auth: requires custom OIDC configuration (not one-click, but achievable). Clerk: native support for $20/month extra. Stack 4 chose Supabase Auth + custom OIDC, saving cost, with PoC validation as a condition of approval.

Deployment: Why a Single Pipeline Matters

Stack 1 requires 3 independent deployment pipelines; Stack 4 needs just 1. This isn't only a convenience issue — every extra deployment step is another place where AI agent work can break. A single pipeline = fewer cognitive failure points = faster iteration cycles.

5. Why Stack 4 Won with 8.42/10

Stack 4 uses identical infrastructure to Stack 3. Its advantages come entirely from two open-source tools: Turborepo and tRPC.

🏆 Stack 4 — T3 Monorepo + Supabase + Vercel

8.42 / 10

Core advantages: Developer Experience 10/10 · Type Safety 10/10 · Deployment 10/10

Turborepo: Monorepo Without the Misery

Turborepo is a Rust-based build system that Vercel acquired in 2021. Its core feature is smart caching (Remote Caching) — if you only changed one UI component, it only rebuilds the affected packages, restoring everything else from cache. This saves 50-90% of build time on incremental changes.

For a one-person team: AI agents may deploy dozens of times per day. Fast build cycles = faster feedback = faster corrections = faster iteration to revenue.

tRPC: The Type System That Lets AI Agents Self-Correct

This is what I believe is Stack 4's most critical advantage — and the hardest to explain. Let me use a supply chain analogy:

A regular REST API is like two departments maintaining separate BOMs (Bills of Materials). If a backend engineer renames a field, the frontend engineer doesn't know — users see a blank screen, discovered 3 days later via customer support.

tRPC is like a single unified BOM for the entire product family. Any inconsistency triggers an immediate red error in the editor — it won't compile, it can't deploy to production. API-related bugs drop by 89-98%.

Here's why this matters specifically for me: the ones writing code are AI agents, not humans. AI agents are excellent at understanding type errors and correcting them immediately. Without a type system, AI has to guess from documentation — and guessing wrong means users pay the price.

6. Coastline Platform Architecture Diagram

COASTLINE PLATFORM — Stack 4 Architecture ═══════════════════════════════════════════════════════════ USERS (Taiwan + Global) │ HTTPS ▼ ┌──────────────────────────────────────┐ │ CLOUDFLARE (DNS + CDN + DDoS) │ │ 330+ global PoPs incl. Taipei │ └────────────────┬─────────────────────┘┌─────────────┴─────────────┐ ▼ ▼ ┌──────────────────────┐ ┌──────────────────────┐ │ VERCEL │ │ SUPABASE │ │ Frontend + tRPC API │◄════════►│ PostgreSQL (Tokyo) │ │ │ tRPC │ Auth (LINE OAuth) │ │ apps/web │ (type- │ Realtime WebSocket │ │ apps/cockpit │ safe) │ Storage (S3-compat) │ │ packages/api │ │ Edge Functions │ │ packages/db │ │ │ │ packages/ui │ │ Row-Level Security │ │ │ │ (3-tier isolation) │ │ $0 → $20/month │ │ $0 → $25/month │ └──────────────────────┘ └──────────────────────┘ ═══ Double line = tRPC (compile-time type-safe API layer) Subsystems: CRM Contact mgmt, 7 Relationship Roles, Health Score Pipeline 7-stage sales pipeline, Hormozi model, real-time updates Connect Member directory, 4-tier membership, LINE OAuth Shop Physical goods + e-books, Recur.tw NT$ + Stripe USD Email Buttondown newsletter, nurture sequences Total Cost: $0/month (Year 1) → $45/month (growth) → $120/month (scale)

7. Monorepo Structure: How the Code is Organized

A monorepo isn't "dumping everything into one folder." It's an organized unified workspace where multiple applications share the same types, components, and configurations.

coastline/ ├── apps/ │ ├── web/ → mycoastline.ai + mycoastline.xyz (Vercel deploy) │ └── cockpit/ → Chairman-only admin dashboard (local) ├── packages/ │ ├── api/ → tRPC routers (shared across all apps) │ ├── db/ → Prisma schema + migrations + seed data │ ├── ui/ → shadcn/ui component library (shared UI) │ ├── types/ → TypeScript type definitions (global shared) │ └── config/ → ESLint, TypeScript, Tailwind shared configs ├── turbo.json → Turborepo build pipeline definition ├── pnpm-workspace.yaml → Workspace configuration └── package.json → Root scripts How it works: pnpm dev → Start all apps (hot reload) pnpm build → Turborepo smart build (only changed packages) pnpm db:push → Push schema changes to Supabase git push → Vercel auto-deploys (live in <5 minutes)

The critical packages are packages/api and packages/db — all API routes and database models are defined here, then consumed by both apps/web and apps/cockpit. Any type inconsistency throws an error everywhere, immediately.

8. 3-Year Total Cost of Ownership

Tech decisions can't be evaluated on today's costs alone. You need to look at 3-year TCO including infrastructure, development time (AI API costs), and the hidden cost of debugging broken type contracts.

StackYear 1Year 2Year 33-Year TotalVendors
Stack 1 (Vercel + Railway + Fly.io) $360 $1,200 $3,600 $5,160 4
Stack 2 (Cloudflare Full Stack) $0 $600 $1,200 $1,800* 1
Stack 3 (Supabase + Vercel, no Monorepo) $300 $900 $2,700 $3,900 2
Stack 4 (T3 Monorepo) ✓ $300 $900 $1,800 $3,000 2

*Stack 2: Lowest infra cost but highest dev cost due to SQLite limitations and custom auth. Disqualified regardless of cost.

Stack 4 and Stack 3 have identical infrastructure costs (both: $0 → $25/month Supabase + $0 → $20/month Vercel). Stack 4 is cheaper because:

ROI context:

9. The 5-Judge Panel's Verdicts

This wasn't my opinion alone. I assembled a 5-judge AI panel, each evaluating from a distinct perspective:

Judge 1 — System Architect
APPROVE

"The monorepo architecture with tRPC provides the strongest technical foundation. Compile-time type safety across the entire stack eliminates an entire category of integration bugs. For a system with 11 database tables and 5 subsystems, a monorepo with shared types is not premature — it's appropriate."

Judge 2 — AI Agent Productivity
STRONGLY APPROVE

"AI agents perform significantly better with type-safe codebases. When the compiler tells the AI that a function signature is wrong, the AI corrects it immediately. The T3 Stack has 40K+ GitHub stars worth of training data. AI models have extensive knowledge of this exact stack."

Judge 3 — Business Operations
APPROVE

"Infrastructure cost is identical to Stack 3 ($0 → $25/month). The tRPC/Turborepo layer is free OSS with zero licensing risk. The only cost premium over Stack 3 is the initial 2-3 days of monorepo setup, which pays for itself within the first month through reduced debugging time."

Judge 4 — Taiwan Market
CONDITIONAL APPROVE

"LINE Login is the critical path for the Taiwan market. Supabase Auth does NOT have native LINE Login — it requires custom OIDC configuration. This must be validated in the PoC on Day 1 before full commitment. Fallback: Clerk has native LINE Login for $20/month. All other Taiwan requirements (Traditional Chinese, Recur.tw, NT$) are stack-agnostic."

Judge 5 — Security & Compliance
APPROVE

"PostgreSQL RLS via Supabase is the correct architecture for 3-tier data isolation. tRPC + Zod provides defense-in-depth against injection attacks. Both Vercel and Supabase hold SOC 2 Type 2 certifications. Data residency in Tokyo (Japan) is compliant with Taiwan PDPA cross-border provisions."

10. What This Means for One-Person Teams

I'm not an engineer. But I now have a clear understanding of every layer of this tech stack — not because I suddenly know how to code, but because a rigorous decision process forced me to understand the reason behind every choice.

This reminds me of something my mentor Alex Finn once said: "You don't need to know how to build an airplane. But you need to know why it flies, and under what conditions it crashes."

For a one-person team, tech selection isn't an engineering decision — it's a business decision. The wrong tech stack can trap you in technical debt at exactly the moment you need to move fastest, or force you to rebuild an entire system just as user growth is accelerating.

Stack 4 lets me do the following:

One number that stuck with me: a traditional software agency would charge $50,000 - $100,000 to build the same platform. With AI agents and Stack 4, my 3-year total cost is $3,000 — 3% of that figure.

This isn't just about saving money. It's about enabling a one-person team to build infrastructure that was previously only accessible to funded startups. That changes the game entirely.

I'm 51 years old. I don't write code. My family is in Canada and Taipei while I'm building this in Taiwan. And I just made a more rigorous technical decision than most funded startups make. AI didn't replace me — it made me capable of doing this.

🌊 Want to follow the Coastline build journey?

Subscribe to the newsletter — biweekly field notes on AI-powered one-person teamship. Tech decisions, business models, real numbers. No fluff.

Subscribe Free →

11. FAQ

Q: What is the T3 Stack?

The T3 Stack is a full-stack TypeScript framework combination created by Theo Browne (former Twitch engineer). Core components: Next.js, tRPC (type-safe API layer), Prisma ORM, Tailwind CSS, and optionally Turborepo (monorepo build system). Philosophy: "typesafe, modular, minimal." It's particularly well-suited for AI-agent development because the type system forces AI agents to catch errors at compile time rather than at runtime in production. Cal.com ($5.1M ARR) runs on this exact stack. 28,000+ GitHub stars.

Q: Why did Cloudflare Full Stack score the lowest?

Cloudflare Full Stack has the lowest infrastructure cost (3-year $1,800), but two fatal flaws disqualified it: First, the D1 database is SQLite, not PostgreSQL — it cannot support Row-Level Security (RLS) or the complex JOIN queries that Coastline's CRM requires. Second, Cloudflare Access has no native LINE Login support, but Taiwan's market has 466 LINE community members who need LINE OAuth authentication. Both are hard dealbreakers. Final score: 6.12, last place.

Q: What's the difference between tRPC and regular REST APIs? Why does it matter?

With a regular REST API, the frontend and backend maintain separate type definitions. If a backend developer renames a field, the frontend doesn't know until users see a blank screen 3 days later. tRPC lets the frontend directly inherit types from the backend — any mismatch triggers an immediate red error in the editor, fails to compile, and can never reach production. This reduces API-related bugs by 89-98%. For AI-agent development, this is critical: AI can instantly fix a type error when it sees one, rather than guessing from documentation and shipping broken code.

Q: Why Supabase instead of self-hosting PostgreSQL?

Supabase is fully managed PostgreSQL plus a complete backend-as-a-service: Auth (with 19 OAuth providers), Realtime (WebSocket via Elixir Phoenix), Storage (S3-compatible), and Edge Functions. The key differentiator is native Row-Level Security (RLS) integration — Coastline's CRM needs 3-tier data isolation, and Supabase's RLS lets you enforce this at the database level with SQL policies, not application-layer code. Cost: $0 free tier → $25/month Pro. Fully open-source (Apache 2.0), self-hostable, minimal vendor lock-in.

Q: How does a non-developer make enterprise-grade tech decisions?

I didn't make this decision alone — I built an AI agent team to evaluate it for me. My Technical Architect AI (Mike) adapted the SEMI E10-0304 semiconductor vendor qualification framework to cloud infrastructure evaluation. Five AI judges scored four tech stacks across 12 weighted criteria. The process took 2 days and produced a 50+ page Vendor Qualification Document. As a one-person team, you don't need to know how to code — but you need to understand why your technical foundation matters and what can go wrong. The methodology does the rest.