watuulorichard

Watuulo Richard

rss feed

I gaslight rocks 🪨 to think 🧠 tagline

Hey 👋🏿 Richm@nd here! I build stuff

loading...
Authentication System Design

Authentication System Design

authentication

system design

jwt

security

backend

How to prove who is walking into your app, over and over, without asking for the password every time. Requirements, capacity, design, API, scaling and bottlenecks, explained with an office building and its reception desk.

October 12, 2026

Setting Up OpenAPI Docs with Scalar in Next.js

Setting Up OpenAPI Docs with Scalar in Next.js

Engineering

Next.js

OpenAPI

Scalar

A step-by-step guide to serving an OpenAPI 3.0 spec from a route handler, rendering it with Scalar, protecting it with Basic Auth, and deploying to VPS or Vercel.

October 7, 2026

Add Beautiful API Docs to Your Go Backend with Scalar

Add Beautiful API Docs to Your Go Backend with Scalar

Go

Backend

Gin

Scalar

OpenAPI

API Documentation

Beginner Guide

A beginner-friendly, step-by-step guide to adding interactive Scalar API documentation to a Go and Gin backend, with an OpenAPI spec, a built-in request tester, and fixes for the errors I hit along the way.

October 6, 2026

Build a Go Backend with Gin, GORM, JWT and Docker

Build a Go Backend with Gin, GORM, JWT and Docker

Go

Backend

Gin

GORM

PostgreSQL

Redis

JWT

OAuth2

Docker

Beginner Guide

A beginner-friendly guide to building a full REST API backend for a portfolio website in Go with Gin, GORM, PostgreSQL, Redis, JWT, OAuth2 and Docker.

September 28, 2026

Understanding types/auth.ts and actions/auth.ts - How a Next.js Frontend and a Go Backend Agree on Data

Understanding types/auth.ts and actions/auth.ts - How a Next.js Frontend and a Go Backend Agree on Data

nextjs

typescript

go

gin

axios

server-actions

generics

beginner

A slow, beginner-friendly walkthrough of the two files that let a TypeScript frontend and a Go + Gin backend safely talk to each other generics, intersection types, Server Actions, and how one function turns any backend response into something your React app can always trust.

September 18, 2026

Create and Run a Prisma Seed File — Local Postgres, Neon, and VPS

Create and Run a Prisma Seed File — Local Postgres, Neon, and VPS

prisma

database

postgresql

neon

seed

nextjs

docker

vps

A complete, simple, step-by-step guide for creating a Prisma seed file, seeding a database with `prisma db seed`, running it against a local Postgres or Neon database, and making it run exactly once on a VPS deploy using a persisted SeedMeta marker table.

September 7, 2026

Setting Up React Query and Axios the Way I Use Them, Line by Line

Setting Up React Query and Axios the Way I Use Them, Line by Line

react-query

axios

nextjs

server-actions

data-fetching

typescript

installation

A beginner-friendly, scenario-based walkthrough of config/axios.ts, app/providers/ReactQueryProvider.tsx, and hooks/useStudents.ts - with install commands for npm, pnpm and bun, what each line does, why it exists, and the real-life data-fetching problems it solves in a Next.js 15+ App Router project.

September 6, 2026

Free Unlimited Custom-Domain Email with Gmail + Cloudflare

Free Unlimited Custom-Domain Email with Gmail + Cloudflare

email

cloudflare

gmail

dns

domains

A step-by-step guide to routing mail sent to a custom domain address (like hello@yourdomain.com) into your existing Gmail inbox for free and sending replies from that same address without paying for Google Workspace.

July 27, 2026

Understanding Your Redis Client and Cache Layer, Line by Line

Understanding Your Redis Client and Cache Layer, Line by Line

nextjs

redis

ioredis

caching

typescript

A simple, scenario-based walkthrough of lib/redis.ts and lib/cache.ts — what each line does, why it exists, and the exact problem it solves in a Next.js 15+ App Router project.

July 20, 2026

Understanding Forgot Password, Reset Password, and Email Verification in Better Auth (A Beginner's Guide)

Understanding Forgot Password, Reset Password, and Email Verification in Better Auth (A Beginner's Guide)

nextjs

better-auth

prisma

postgresql

authentication

beginners

typescript

A plain-English, step-by-step walkthrough of how "forgot password," "reset password," and "email verification" actually work under the hood with Better Auth, Prisma, and Resend — including exactly how the two different tokens involved are generated, stored, and compared.

July 14, 2026

Set Up Better Auth with Prisma ORM and Postgres in Next.js

Set Up Better Auth with Prisma ORM and Postgres in Next.js

nextjs

better-auth

prisma

postgresql

authentication

typescript

A complete, step-by-step guide to installing Better Auth in a Next.js App Router project, wiring it to Prisma with a custom Postgres driver adapter, adding custom user fields (firstName, lastName, phone), and enabling email OTP verification.

July 13, 2026

Set Up Prisma 7 in Next.js 15+ with Neon DB or Prisma Postgres

Set Up Prisma 7 in Next.js 15+ with Neon DB or Prisma Postgres

nextjs

prisma

postgresql

neon

database

typescript

A complete, simple, step-by-step guide for installing Prisma 7 in a Next.js 15+ App Router project, connecting it to either Neon or Prisma Postgres, and running your first schema push, seed, and query.

July 12, 2026

Set Up Local PostgreSQL and Redis with Docker for Next.js 15+

Set Up Local PostgreSQL and Redis with Docker for Next.js 15+

nextjs

docker

postgresql

redis

prisma

database

A complete, simple, step-by-step guide for running PostgreSQL and Redis locally with Docker Compose, connecting them to Prisma, and verifying everything works in a Next.js 15+ App Router project.

July 11, 2026

Install Fumadocs in a Next.js 15+ App

Install Fumadocs in a Next.js 15+ App

nextjs

fumadocs

mdx

documentation

A complete, simple, step-by-step guide for adding Fumadocs MDX and Fumadocs UI to an existing Next.js App Router project.

July 9, 2026

Building a Progressive Web App with Next.js and Firebase Push Notifications

Building a Progressive Web App with Next.js and Firebase Push Notifications

nextjs

pwa

firebase

push-notifications

typescript

A complete step-by-step guide to how I built the Planet Health Care System PWA with Next.js, Firebase Cloud Messaging, Prisma, and Firebase Admin for real-time dashboard alerts.

April 9, 2026

Building and Publishing a CLI as an npm Package

Building and Publishing a CLI as an npm Package

nodejs

cli

npm

typescript

commander

A complete journey of building a production-ready CLI tool with Node.js, Commander, Chalk, and more — then publishing it to npm.

February 22, 2026

I modded the Buildspace OS

I modded the Buildspace OS

buildspace

buildspace-os

chrome extension

A journey of me modding the buildspace os chrome extension to customize the look

June 20, 2024

On scroll video playback effect

On scroll video playback effect

ffmpeg

framer-motion

nextjs

video

Let's create an on scroll video playback effect using ffmpeg, framer-motion & nextjs

June 17, 2024