Founder

Dharmendra Jagodana

Founder of BuildBase. Builds the platform and the six products that run on it.

101 posts · page 6 of 9

Build guide

Charge per credit in Next.js, and why the debit goes last

Charge per credit in Next.js: check the balance before the work, debit after it, return 402 when the balance is empty, and pass an idempotencyKey so a retry is not charged twice.

8 min read
Comparison

The best Clerk and Stripe combination, and when to skip it

Clerk plus Stripe is two vendors and three jobs. Which combination fits which app, what the seam between them costs you to own, and when a bundled backend is the better call.

8 min read
Comparison

The best way to add billing to a Next.js app depends on where entitlements live

Four ways to add billing to a Next.js app, compared on what you still have to build after checkout works: entitlements, quota enforcement and seats.

10 min read
Comparison

Best backend for an API product

Supabase, Firebase and Hasura are built for apps with a database behind them. An API product needs API-key auth and usage-based billing per call - here's what each actually gives you.

7 min read
Comparison

Best metered-billing tools for AI products, sorted by what the meter actually counts

Metronome, Orb, Lago and Stripe Billing compared for AI products on what the billing unit actually is: a token, a credit, or an event nobody dimensioned for AI.

5 min read
Comparison

Best SaaS starter for solo founders: boilerplate you own, or platform you call

Every "best SaaS starter" roundup compares boilerplates against each other. Here is when a fork-and-own kit is the right pick for a solo founder, and when a hosted SDK is.

5 min read
Comparison

Best multi-tenant backend, sorted by who maintains the isolation policy

Multi-tenant backend options compared by who keeps tenant isolation correct after launch - a row-level security policy you write, or a workspace model that ships it.

9 min read
Comparison

Best auth for B2B SaaS, sorted by whether you need SSO yet

Best auth for B2B SaaS compared by the question that actually decides it: do you need enterprise SSO this quarter, or organizations and roles first.

5 min read
Comparison

Best usage-based billing tools, sorted by what happens at the limit

Usage-based billing tools compared by what actually differs now: real-time enforcement versus invoice-only metering, not the charge-model checklist.

7 min read
Cost math

Buy vs build for SaaS infrastructure

Buy-vs-build calculators price one module at a time. The real decision compounds across every module a SaaS needs, and the tipping point is not where most posts put it.

5 min read
Cost math

The maintenance cost AI code does not show you

AI can scaffold your auth and billing in a weekend. What it costs to maintain after is the number nobody prices - here is the year-two math.

5 min read
Build guide

Charge per seat in Next.js, and handle the moment seats run out

Per-seat billing in Next.js: read seat state, gate the invite button, and branch on why invites are blocked. The three block reasons need three different answers.

4 min read

Read enough? Build something.

Everything we write about is in the product. 7-day free trial, no credit card.

7-day free trialNo credit card requiredCancel anytime