#tutorial
16 posts tagged tutorial. View all posts.
Desplegá un SaaS Next.js + Express con Docker en Dokploy (o Railway)
Desplegá un cliente Next.js y una API Express desde un monorepo con Docker: etapas de build, migraciones al arrancar, worker, env vars y Dokploy.
Deploy a Next.js + Express SaaS with Docker on Dokploy (or Railway)
Deploy a Next.js client and Express API from one monorepo with Docker: build stages, boot-time migrations, the worker, env vars and a Dokploy walkthrough.
Polar checkout in Next.js: hosted vs embedded, and what useDeploy uses
Polar hosted vs embedded checkout in Next.js with @polar-sh/sdk 1.x: create the session on the server, redirect, and what embedding adds on top.
Better Auth in a Turborepo monorepo: Next.js client, Express API, Bun workspaces
Run Better Auth in a Turborepo monorepo with a Next.js app and an Express API: where betterAuth() lives, shared contracts, env vars, cookies and Docker.
Better Auth rate limiting: the built-in limiter, its blind spots, and what to add
How Better Auth rate limiting works: defaults, per-path rules, storage, the auth.api blind spot and spoofable IPs, plus express-rate-limit tiers on Redis.
Better Auth magic link: setup, security defaults, and the gotchas
Set up Better Auth magic link sign-in: sendMagicLink, expiry, disableSignUp, token storage, rate limits and the 2FA bypass you have to close yourself.
Better Auth 2FA con TOTP: enrolá, verificá e iniciá sesión con un código
Sumá 2FA con TOTP a Better Auth: el plugin twoFactor, el flujo enable y verify, el desafío al iniciar sesión y los huecos que dejan los magic links.
Better Auth 2FA with TOTP: enroll, verify, and sign in with a code
Add TOTP two-factor auth to Better Auth: the twoFactor plugin, the enroll then verify flow, the sign-in challenge, and the gaps magic links leave open.
Webhooks de Polar en Next.js: verificá la firma (Standard Webhooks)
Verificá webhooks de Polar en Next.js: body crudo, headers Standard Webhooks, el cambio de secret del 2026-09-08, reintentos e idempotencia.
Polar webhooks in Next.js: verify the signature (Standard Webhooks)
Verify Polar webhooks in a Next.js route handler: raw body, Standard Webhooks headers, the 2026-09-08 secret change, retries and idempotency.
Vercel AI SDK data stream protocol from an Express server
Stream an LLM from Express with the Vercel AI SDK data stream protocol: streamText, pipeUIMessageStreamToResponse, the SSE chunks and the useChat client.
RBAC en Express con TypeScript: permisos por organización
Armá RBAC en una API REST con Express y TypeScript: catálogo de permisos tipado, roles por organización y un middleware requirePermission.
RBAC in Express with TypeScript: per-organization permissions
Build role-based access control for a REST API in Express and TypeScript: a typed permission catalog, per-org roles and a requirePermission middleware.
Organizaciones con Better Auth: multi-tenant paso a paso
Armá organizaciones multi-tenant con el plugin organization de Better Auth: server, cliente, invitaciones y roles. Y cómo lo hace useDeploy sin el plugin.
Better Auth organizations: multi-tenant setup, step by step
Set up multi-tenant organizations with the Better Auth organization plugin: server, client, invitations, roles. Plus how useDeploy does it without it.
BETTER_AUTH_SECRET: what it is, how to generate it, how to rotate it
BETTER_AUTH_SECRET signs sessions and encrypts 2FA secrets. Generate it with openssl, set it per environment, and rotate it with BETTER_AUTH_SECRETS.