Blog
Posts tagged with "nextjs" on the AtendePraMim blog.
Authentication is the foundation of any SaaS application. In this post, we'll walk through how AtendePraMim implements session-based auth with iron-session, 2FA via TOTP, and magic links. We use iron-session with AES-256 encrypted HttpOnly cookies. No JWTs exposed to the browser. TOTP-based 2FA adds a second layer. The user scans a QR code with their…
Welcome to AtendePraMim — the full-stack Next.js SaaS boilerplate. Authentication — Email/password, magic links, social login, 2FA Multi-organization — Teams, members, invitations, roles Billing — Stripe integration, plans, quotas, credits And more — Notifications, webhooks, OAuth2 server, support cases Clone the repository Copy .env.example to .env and…
Next.js 13 dropped the old i18n config, and the App Router replacement is next-intl. It works well. The rough edges are all in the first hour. Next 16 renamed middleware. next-intl's guide still says middleware.ts. Your file must be src/proxy.ts — createMiddleware(routing) is the same; the filename is the only change. Skip it and your page falls back to…
Newsletter
Get new posts and changelog entries by email or RSS.