Skip to content
Founder

Dharmendra Jagodana

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

129 posts · page 6 of 11

Build guide

Astro middleware authentication with roles: one onRequest gate where admins and editors write, viewers read, strangers bounce and machines use a token.

5 min read
Build guide

Add authentication to an existing Express app: hosted sign-in, a callback route, and express-session, with req.user and every protected route left untouched.

4 min read
Build guide

Fastify authentication as a decorator plugin: hosted sign-in, @fastify/session, unchanged role checks, a fake for tests, and credits metered per request.

5 min read
Build guide

Hono authentication with no user table: hosted sign-in, a signed-cookie session you can still revoke, and metered credits, in one app on Node, Bun, Deno and Workers.

5 min read
Build guide

NestJS authentication without Passport or JWTs: one guard reads a Bearer session ID, RolesGuard keeps working, and ending a session actually ends it.

5 min read
Build guide

Add auth, teams and billing to an existing Next.js app: the setup, getting the session to server components, and three popular templates swapped over.

6 min read
Build guide

React Router v7 authentication with hosted sign-in: a login action, a callback route that swaps the code, and your own session, so no loader changes.

5 min read
Build guide

TanStack Start authentication for apps already on better-auth: add BuildBase as a better-auth plugin and keep your sessions, roles and server-function checks.

5 min read
Build guide

Add authentication to a Vite React app with no server of its own: three small functions for the code exchange, an httpOnly cookie, then teams and billing.

6 min read
Build guide

Every passkey tutorial has you writing four WebAuthn route handlers. This one has you writing none, and making one near-permanent decision instead: which domain runs the ceremony.

7 min read
Build guide

Signed in on app.example.com, signed out on admin.example.com. An attribute-by-attribute audit of the Set-Cookie header that decides it.

9 min read
Build guide

Turning magic link on takes one toggle. The decisions that follow - session length, which browser opens the link, and deliverability - take longer.

6 min read

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.

Free plan7-day free trial on paid plansNo credit card required