MERN Course: Next.js Essentials
Weeks 14–16 of the MERN syllabus — App Router, SSR, data fetching, API routes, dynamic routing, next/image, auth, and full-stack project deployment.
Articles, guides, and resources on web development, design, blockchain, open source, and career tips.
Filtered by tag: Next.js
Weeks 14–16 of the MERN syllabus — App Router, SSR, data fetching, API routes, dynamic routing, next/image, auth, and full-stack project deployment.
Real-world Next-Auth v5 Credentials provider in Next.js App Router — email/password login, authorize function, bcrypt password matching, mock user database, Server Actions, and client-side error UX.
Step-by-step Next-Auth v5 setup in Next.js App Router — Google and GitHub OAuth only. Covers auth.ts, LoginForm, Server Actions, [...nextauth] route, protected pages, session UI, and next.config image patterns.
Implement refresh token rotation in Next.js with Next-Auth v5 and a custom backend — access/refresh JWT fundamentals, /login and /refresh endpoints, JWT and session callbacks, expiry checks, and seamless token renewal.
Register users to MongoDB with Mongoose in Next.js App Router — registration UI, /api/register route, bcrypt hashing, user schema, createUser queries, and Next-Auth v5 Credentials login integration.
Complete Next.js Middleware guide — request/response interception, protected routes, matchers, Next-Auth v5 integration, public vs private routing, API security, i18n, and proxy.ts migration for Next.js 16.
Stay up to date and get notified when I share new contents.
No spam ever, unsubscribe anytime