Rabbit Byte Club

Part 2/3: How to Integrate Refresh Tokens in React

Hello, guys! On the premise that our App is immune to XSS attacks, we will store both access & refresh tokens in the local storage. For this, we will use React which escapes any values embedded in JSX before rendering them, greatly helping us in countering XSS attacks. This is

Part 1/3: How to Implement Refresh Tokens with Token Rotation in NestJS

In this episode, we will learn how to implement refresh tokens using local storage as a strategy for storing both access and refresh tokens. If you want to jump directly to the GitHub repo, you can access it here. Prerequisites Before diving into this guide, it's important to

NestJS Dependency Injection in Worker Threads

There may be cases when you need to do CPU-intensive tasks on the backend like big JSON parsing, video encoding, compression, etc. If you have at least 2 cores in your processor's configuration you can run javascript in parallel for these tasks and not block the main thread

Part 3/3: How to deploy a production app to Kubernetes (GKE)

Introduction: This blog post is the final installment of a three-part series dedicated to scaling a NestJS chat app to handle millions of users. In the first two episodes, we discussed the scaling process and demonstrated how to deploy it locally using Docker and Minikube. However, in this final episode,

Part 2/2: Deploy Scalable NestJs Chat App to Kubernetes

In our previous blog post, we explored how to write a scalable NestJS chat app using a distributed architecture and WebSockets for real-time communication. Building upon that, we will now dive deeper into improving the app's efficiency and deploying it on Kubernetes using minikube. If you're

Rabbit Byte Club © 2026