Writing
2026
- Refresh Token Rotation in Node.js: Rotation, Reuse Detection, and Family RevocationExplore refresh token rotation in Node.js, secure cookies, reuse detection, token-family revocation, and PostgreSQL cleanup with pg_cron.
- Role-Based Authorization: A Developer’s Mental ModelBuild role-based authorization in Express with a permission map, reusable middleware, protected routes, and ownership checks.
- Database RLS PoliciesUnderstand PostgreSQL row-level security, operation-specific policies, user context, and separate roles for privileged database access.
2024
- What is HTTP Caching?Learn how HTTP caching works with private and shared caches, Cache-Control, ETag, conditional requests, and a NestJS example.
- Creating an Idempotent REST API with NestJSExplore idempotency in a NestJS REST API using request keys, middleware, TypeORM transactions, and related database entities.
- A complete guide for modifying the Flutter Icon AppLearn how to configure Flutter app icons manually for Android and iOS, from generating image sizes to updating native project files.