开发者决策索引

开发者工具选择,不必从一长串产品开始。

Starter Wiki 把任务、默认路线、替代方案和 Starter Stack 放到同一条决策路径里,帮助团队更快做出可解释的技术选择。

任务默认路线替代方案Starter Stack

从这里开始

从决策开始

六个会决定现代产品技术路线的高影响选择。
查看全部 87 个决策

身份认证:为 SaaS 选择默认方案与例外条件

决定应用如何完成登录、会话、账号恢复与组织入口,不把认证和授权混为一谈。

默认方向
新 SaaS 默认优先 Clerk;要求数据控制或自托管时选择 Better Auth;企业 SSO 与目录同步迫近时评估 WorkOS。
比较方案

支付:为 SaaS 选择资金流与商业责任

先确定卖方和税务责任,再选择支付处理商、Merchant of Record 或平台支付路线。

决策路线
常规 SaaS 默认评估 Stripe;希望外包数字商品税务与买方支持时评估 Paddle 或 Creem。
比较方案

数据库:以托管 PostgreSQL 作为大多数 SaaS 的起点

按数据模型、完整性、恢复与运维要求选择系统记录,而非先选热门后端平台。

决策路线
多数 SaaS 从托管 PostgreSQL 起步;需要一体化后端时看 Supabase,需要弹性分支工作流时看 Neon。
比较方案

Hosting:按运行边界选择部署平台

比较框架集成、预览、后台进程、网络、区域和操作责任。

决策路线
现代 Web 应用通常从 Vercel 起步;需要通用容器服务时评估 Railway 或 Render。
比较方案

Transactional Email

Choose a provider and operating model for application-triggered email without confusing delivery infrastructure with marketing automation.

决策路线
Start with Resend for a small new web product.
比较方案

LLM API:通过真实评估集选模型,而不是追随榜单

比较模型质量、工具调用、延迟、价格、数据政策和生命周期风险。

决策路线
从 OpenAI 或 Anthropic 的一个主模型路线开始;只有明确的可靠性或成本收益时才加入多模型路由。
比较方案

决策地图

按领域浏览

先选择问题领域,再沿着有边界的顺序前进,而不是浏览平铺的工具目录。

Working combinations

Starter stacks

Five opinionated starting points with explicit product assumptions and replacement boundaries.
Browse all starter stacks

AI SaaS

Use this Stack when AI is a product capability inside a conventional SaaS system rather than a standalone model-research platform.

  • Next.js
  • Clerk
  • Neon
  • Stripe
  • AI SDK
Main trade-off

The stack accelerates product delivery but combines identity, database, billing, model, SDK, and hosting dependencies whose usage costs and failure modes must be measured independently.

View stack

B2B SaaS

Use this Stack when customer organizations, enterprise federation, provisioning, operational workflows, and account-level billing are core product requirements.

  • Next.js
  • WorkOS
  • PostgreSQL
  • Stripe
  • Inngest
Main trade-off

The stack covers common enterprise SaaS infrastructure quickly, but the team must own cross-system identity mapping, tenant isolation, authorization, event consistency, enterprise support, and vendor migration.

View stack

Content Site

Use this Stack when editors need a managed structured-content system and the product needs a custom Next.js frontend, dedicated search, global delivery, and managed deployment.

  • Next.js
  • Sanity
  • Algolia
  • Cloudflare
  • Vercel
Main trade-off

The Stack accelerates content operations and delivery but distributes data, indexing, cache, and runtime state across managed providers whose usage, failure, and migration boundaries must be operated deliberately.

View stack

Indie SaaS

Use this Stack when a small team wants a conventional SaaS foundation, prefers application-owned authentication, and values outsourcing seller-of-record operations.

  • Next.js
  • Better Auth
  • Turso
  • Lemon Squeezy
  • Resend
Main trade-off

The stack can be economical and portable at small scale, but the developer assumes more authentication and integration responsibility and must validate runtime compatibility, MoR eligibility, database behavior, and migration paths.

View stack

Next.js SaaS

Use this Stack when the product needs application authentication, relational data, card payments, transactional email, and managed web deployment without operating each subsystem.

  • Next.js
  • Clerk
  • Supabase
  • Stripe
  • Resend
Main trade-off

The stack minimizes initial operations but concentrates product risk across several managed vendors and leaves the application responsible for domain data, authorization, tax scope, and migration planning.

View stack

Selected evaluations

Featured evaluations

Tools that recur across important decisions, cover distinct routes, or define a widely misunderstood boundary.
Browse all 280 tool evaluations

Clerk

Identity
Clerk is the strongest general default for a new SaaS team that values a short path to polished authentication more than infrastructure ownership.
Read evaluation

Better Auth

Identity
Choose Better Auth when owning the authentication runtime, schema, and data is a requirement rather than an implementation preference.
Read evaluation

Stripe

Payment processor
Choose Stripe when direct payment infrastructure, subscriptions, or platform payments are intentional and the business will own the remaining merchant operations.
Read evaluation

Paddle

Merchant of Record
Choose Paddle when its eligibility, seller role, checkout, payout, tax, and contract model fit and reduced merchant operations outweigh lower platform control.
Read evaluation

Supabase

Backend platform
Choose Supabase when PostgreSQL, Auth, Storage, Realtime, and generated APIs belong in one coherent backend boundary.
Read evaluation

Neon

Managed PostgreSQL
Choose Neon when PostgreSQL compatibility, database branching, and elastic or suspendable compute align with the development workflow and workload.
Read evaluation

Vercel

Managed web platform
Choose Vercel when framework-aware deployment, previews, and managed web delivery materially reduce team effort.
Read evaluation

Cloudflare

Developer platform
Choose Cloudflare when its edge runtime and integrated delivery, security, and data products match the application's execution and locality model.
Read evaluation

Resend

Transactional email API
Choose Resend when a compact developer API is the priority and the team can own consent, domain authentication, reputation, suppression, failure handling, and provider concentration.
Read evaluation

PostHog

Product engineering and analytics platform
Choose PostHog when suite consolidation is intentional and the team can govern identity, event taxonomy, replay capture, flag requests, retention, regions, and separate product meters.
Read evaluation

Sentry

Issue-centric application monitoring
Choose Sentry when application error triage is the leading job and the team can own SDK, release, source-map or symbol, sampling, and sensitive-data configuration.
Read evaluation

AI SDK

AI application SDK
Choose AI SDK when a TypeScript product benefits from shared application primitives and its supported provider adapters.
Read evaluation

Editorial standard

How recommendations are made

A compact decision process designed to reduce the shortlist without hiding uncertainty.
Read the methodology

Clear defaults

A practical starting point when one route fits the common case.

Explicit exceptions

The conditions that should move you away from the default.

Verified sources

Important claims trace back to current, reliable documentation.