Back
EN/TR

Blog

Notes on what I build and learn along the way.

Practical, Secure Authentication in Next.js with iron-session & Server Actions

May 14, 2025

Encrypted, cookie-based, stateless sessions: a login, protected page and logout flow built step by step with iron-session and Server Actions.

May 14, 2025

CSS-First Configuration in Tailwind v4

Apr 27, 2025

tailwind.config is gone and @theme takes its place. Defining a theme with CSS variables in Tailwind v4, dark mode, and new features like color-mix and not-*, with examples.

Apr 27, 2025

Using Middleware in Next.js

Apr 25, 2025

What middleware is and when to use it: matchers, has/missing filters, rewrites, cookie and header handling, and returning custom responses from middleware, with examples.

Apr 25, 2025

React Hook Form + Zod: Modern Form Validation

Apr 13, 2025

Type-safe validation with Zod schemas, wiring them into React Hook Form with zodResolver, and deriving TypeScript types from a schema: modern form validation, with examples.

Apr 13, 2025

Server Components and Client Components in Next.js 15

Apr 8, 2025

Which components should run on the server and which in the browser? The difference between Server and Client Components, the 'use client' directive, and the security angle, with examples.

Apr 8, 2025
PreviousPage 2 of 2Next