Dharmendra Jagodana
Founder of BuildBase. Builds the platform and the six products that run on it.
129 posts · page 4 of 11
Which notifications users get to turn off, and which stay on
Which notifications should be mandatory, which users may switch off, and how the opt-out is actually enforced at send time.
One auth client per environment, and what goes on each
How to split auth clients and redirect URLs across dev, staging and production, when a wildcard is safe, and why localhost does not belong on a production client.
Auth clients and redirect URLs: you want two clients, not one per environment
How many auth clients to create, and how to split redirect URLs across localhost, preview deploys and production without registering a wildcard that will be refused.
Choosing billing currencies before your first subscription
Which billing currencies to enable before your first customer: why a Stripe subscription currency is locked per customer, and what adding one later costs you.
Should you run auth on your own domain?
A custom auth domain is close to a one-way door for passkeys, and a DNS record that becomes part of your login path. Here is how to decide, and how to move before anyone signs in.
How to create a default workspace on signup in Next.js, but not for invited users
Create a default workspace on signup in Next.js without giving invited users an empty one of their own, and decide when to ask for a name instead.
Idempotency in billing, and why it matters
Idempotency in billing means a retried charge, usage event, credit debit or webhook takes effect once. Having a key is the easy part. What the key names is where double billing starts.
Idempotency keys on the metering write path
How BuildBase keeps a retried usage record from counting twice: a key per hop, minted where its quantity stops changing, and the one hop where our check still runs early.
Metered vs seat-based billing: charge for people or for work
Seat-based billing charges per person with access; metered billing charges per unit of work. Pick by what grows when a customer gets more value.
How to add per-org data isolation in Next.js
Per-org data isolation in Next.js: check membership once per request, make the data layer demand that proof, and never fetch a record by its ID alone.
How to add roles and permissions per workspace in Next.js
Per-workspace roles in Next.js: hide controls with WhenPermission, check every server action with bb.workspace.can(), and know which side lags after a role change.
How to add social login in Next.js
Google, GitHub, Microsoft and LinkedIn sign-in with no OAuth routes to write. What is left is a decision: what one person becomes when they arrive through two providers.
Read enough? Build something.
Everything we write about is in the product. Start on the Free plan, or try a paid plan free for 7 days, no credit card.