Secure JWT Authentication with Public and Private KeysIntroduction to JWT A JSON Web Token (JWT) is a compact, URL-safe means of representingclaims to be transferred between two parties. Hold on, I’m sure you’re probably concerned with what this has to do with authentication, we’ll get there in a bit. B...Jun 21, 2025 · 34 min readnagato-dev.hashnode.dev
📡 From Click to Screen: How the Web Really WorksIntroduction to the Web I mean, I plugged in my RJ-45 cable to my Lenovo ThinkPad T480s to quickly stream the next episode of Jujutsu Kaisen — a Japanese anime. Within seconds, I was watching a Full HD episode with subtitles, streamed from a database...Jun 2, 2025 · 9 min readnagato-dev.hashnode.dev
HTTP 201 vs 202, 401 vs 403, and 400 vs 422: When to Use Which and WhyIntroduction to Status Codes As a web developer, chances are you have come across HTTP status code — whether you’re building APIs on the backend or consuming them on the frontend. They are one of the primary ways we understand what happened with a re...May 27, 2025 · 6 min readnagato-dev.hashnode.dev
The Repository PatternMotivation In my early days of building backends, I didn’t really see the harm in tightly coupling my service layer to the database. After all, I knew my choice of database and ORM and if I was going to use one it would never change — until it did. I...Apr 29, 2025 · 28 min readnagato-dev.hashnode.dev