Twilight

Blog

My thoughts, ideas, and experiences in web development and technology.

Using Bitfields for Permissions and Feature Flags

Learn how to use bitfields for efficient permission systems and feature flags with TypeScript

September 3, 2025
6 min read

Building Recommendation Systems with Collaborative Filtering

Learn the basics of collaborative filtering and implement simple recommendation systems using TypeScript

August 26, 2025
11 min read

Understanding Next.js after() function and implementing it in Express.js

Learn how Next.js after() function works and how to implement a similar pattern in Express.js applications

August 26, 2025
8 min read

Automated Audit Trail in Prisma with AsyncLocalStorage

Learn how to implement automated audit trails in Prisma using AsyncLocalStorage for user identification and automatic logging of CUD operations

August 26, 2025
14 min read

Understanding and Implementing Next.js "use cache" Directive: A Deep Dive

A comprehensive guide to understanding how the "use cache" directive in Next.js works, with a step-by-step implementation from scratch.

May 19, 2025
19 min read

Essential TypeScript Tips for Better Code

Improve your TypeScript skills with these practical tips and best practices for writing cleaner, more maintainable code.

March 20, 2023
2 min read

Building Modern Websites with Next.js

Explore the benefits of using Next.js for your web projects and learn how to get started with this powerful React framework.

February 15, 2023
2 min read

Hello World - My First Blog Post

Welcome to my blog! In this first post, I'll introduce myself and share what you can expect from my future articles.

January 1, 2023
1 min read