Box Software
  • Home
  • Who We Are
  • Services
  • The Blog
  • Contact
Select Page
How to Implement Two-Factor Authentication in a Node.js App with TOTP

How to Implement Two-Factor Authentication in a Node.js App with TOTP

by Anthony Silva | Aug 24, 2026 | Uncategorized

Adding two factor authentication in Node.js is one of the most effective ways to protect user accounts from credential leaks, phishing, and brute-force attacks. In this practical tutorial, we will build a complete TOTP-based 2FA flow using Express, speakeasy, and...
How to Implement Google OAuth 2.0 in a Next.js App with NextAuth.js

How to Implement Google OAuth 2.0 in a Next.js App with NextAuth.js

by Anthony Silva | Aug 21, 2026 | Uncategorized

Setting up authentication is one of those tasks that sounds simple until you actually do it. If you’re building a Next.js 14+ app and want a secure, production-ready login flow, NextAuth Google OAuth is one of the fastest paths to get there. In this tutorial, we...
How to Fix Hydration Errors in Next.js: Common Causes and Solutions

How to Fix Hydration Errors in Next.js: Common Causes and Solutions

by Anthony Silva | Aug 17, 2026 | Uncategorized

If you’ve built anything serious with Next.js, you’ve probably stared at that dreaded red error box: “Hydration failed because the server rendered HTML didn’t match the client.” It’s one of the most frustrating issues in modern...
How to Implement Server-Sent Events (SSE) in Node.js and Express

How to Implement Server-Sent Events (SSE) in Node.js and Express

by Anthony Silva | Aug 14, 2026 | Uncategorized

Looking for a lightweight way to push real-time updates from your server to the browser without the overhead of WebSockets? Server-Sent Events (SSE) in Node.js might be exactly what you need. In this practical tutorial, we will build a live notification feed using...
How to Implement Rate Limiting in Node.js and Express: A Practical Guide

How to Implement Rate Limiting in Node.js and Express: A Practical Guide

by Anthony Silva | Aug 10, 2026 | Uncategorized

If you run a public Node.js API, sooner or later someone (or some bot) will hammer it with requests. Whether it’s a brute force attempt on your login endpoint, a scraper going wild, or simply a buggy client stuck in a retry loop, unprotected endpoints are a...
How to Implement Optimistic UI Updates in React with TanStack Query

How to Implement Optimistic UI Updates in React with TanStack Query

by Anthony Silva | Aug 7, 2026 | Uncategorized

Users expect instant feedback. When they click a button, they don’t want to wait 400ms for a server response before seeing something happen on screen. That’s exactly where optimistic UI with React Query (TanStack Query) shines. In this practical tutorial,...
« Older Entries

Recent Posts

  • How to Implement Two-Factor Authentication in a Node.js App with TOTP
  • How to Implement Google OAuth 2.0 in a Next.js App with NextAuth.js
  • How to Fix Hydration Errors in Next.js: Common Causes and Solutions
  • How to Implement Server-Sent Events (SSE) in Node.js and Express
  • How to Implement Rate Limiting in Node.js and Express: A Practical Guide

© COPYRIGHT 2023 | ALL RIGHTS RESERVED | BOX SOFTWARE | COOKIES & PRIVACY – TERMS OF SERVICE