Skip to content
Guides

Build guides

Step-by-step walkthroughs for shipping real features with @buildbase/sdk.

63 posts · page 3 of 6

Build guide

Stale data after a workspace switch is a cache that never learned the workspace changed. One switch with the Network tab open tells you which cache. The fix is a key, not a purge.

11 min read
Build guide

Team invitations in Next.js: a pending invite holds a seat from the moment it is sent. Why that is the right default, and what it does to the invoice at renewal.

9 min read
Build guide

Transactional email in spam is a verdict the receiving server already wrote into the header. How to read it, and five causes to check in the order that settles fastest.

11 min read
Build guide

Usage does not match the invoice? The invoice bills overage blocks for a period that already closed. How to reconcile the two, fastest check first.

12 min read
Build guide

Multi-tenant workspaces in Express, Hono and Fastify: take the workspace from the path, then refuse any user who is not a member, in one middleware.

7 min read
Build guide

Multi-tenant workspaces in Remix and React Router v7 or v8: the workspace lives in the URL, and one membership check runs before any loader can fetch.

8 min read
Build guide

Usage-based billing in React Router (Remix): record usage in the action, not the loader, and key each form render so a retried submit bills once.

7 min read
Build guide

Usage metering middleware for Express, Hono and Fastify: when to record before the handler, when to batch after the response, and the rate limit that decides it.

10 min read
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

Follow a guide with your own project

Every guide starts with one install. Create a project and build along.

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