All Posts

The Blog

Deep-dives, real builds, and tutorials that actually work. 20 articles and counting.

20 posts

Full StackSeries

Fullstack #6 — JWT Authentication End to End

Build the complete login flow: login form in Next.js, JWT issued by Spring Boot, token stored safely, and sent with every request. No hand-waving — the full implementation.

fullstacknextjsspring-boot
Mar 11, 20256 min read
Full StackSeries

Fullstack #5 — CORS Explained & Fixed Properly

Why CORS errors happen, what the browser is actually doing, and the exact Spring Boot configuration to fix it for development and production — without just allowing everything.

fullstackcorsspring-boot
Mar 9, 20255 min read
Full StackSeries

Fullstack #4 — Sending Data: Forms, POST, PUT & DELETE

Build forms that talk to Spring Boot. Create, update, and delete resources from Next.js using controlled forms, Server Actions, and proper feedback patterns.

fullstacknextjsforms
Mar 7, 20256 min read
Full StackSeries

Fullstack #3 — Fetching Data: Loading States & Error Handling

Server Components vs Client Components for data fetching, Suspense boundaries, error.tsx, and building a proper loading skeleton — all with Spring Boot as the API.

fullstacknextjsfetch
Mar 5, 20255 min read
Full StackSeries

Fullstack #2 — Setting Up Next.js & Spring Boot Side by Side

Create both projects, run them together in development, configure your API base URL, and make your first successful fetch from Next.js to Spring Boot.

fullstacknextjsspring-boot
Mar 3, 20254 min read
Full StackSeries

Fullstack #1 — How the Web Works: HTTP, APIs & JSON

Before connecting anything, understand what actually happens when your app makes a request. HTTP methods, status codes, JSON, and the request-response cycle explained clearly.

fullstackhttpapi
Mar 1, 20254 min read
spring-bootSeries

Spring Boot #4 — Spring Security: Authentication & Authorization

Secure your Spring Boot API with Spring Security. UserDetails, password encoding, role-based access, and method-level security.

spring-bootjavasecurity
Feb 11, 20254 min read
ReactSeries

React Hooks You're Probably Using Wrong

Deep dive into useCallback, useMemo, and useEffect — with real benchmarks showing when they help and when they hurt.

reacttypescriptperformance
Feb 10, 20252 min read
spring-bootSeries

Spring Boot #3 — Spring Data JPA: Queries, Pagination & Flyway

Custom JPQL queries, derived query methods, pagination and sorting, and managing your schema safely with Flyway migrations.

spring-bootjavajpa
Feb 9, 20255 min read
spring-bootSeries

Spring Boot #2 — Validation & Exception Handling

Bean Validation annotations, @ControllerAdvice for global exception handling, and returning clean consistent error responses.

spring-bootjavavalidation
Feb 7, 20254 min read
spring-bootSeries

Spring Boot #1 — Getting Started & Your First REST API

Bootstrap a Spring Boot project, understand auto-configuration, and build a working REST API in 20 minutes.

spring-bootjavarest
Feb 5, 20254 min read
Spring BootSeries

Collections & Streams #2 — The Streams API

Replace imperative loops with expressive pipelines. filter, map, flatMap, reduce, collect, and groupingBy — the operations you'll use every day.

javastreamsfunctional
Feb 3, 20254 min read
Spring BootSeries

Collections & Streams #1 — List, Set & Map

The Java Collections Framework explained. ArrayList vs LinkedList, HashSet vs TreeSet, HashMap vs LinkedHashMap — and when to use each.

javacollectionslist
Feb 1, 20254 min read
Spring BootSeries

OOP #2 — Inheritance, Interfaces & Polymorphism

Extend classes, implement interfaces, and write code that works with types it's never seen. The core of flexible Java design.

javaoopinheritance
Jan 30, 20255 min read
Spring BootSeries

OOP #1 — Classes, Objects & Constructors

How to model real-world things as Java classes. Encapsulation, constructors, getters/setters, and the builder pattern.

javaoopclasses
Jan 28, 20255 min read
Spring BootSeries

Java Basics #4 — Methods & Arrays

How to write clean reusable methods, understand pass-by-value, and work with single and multi-dimensional arrays.

javabasicsmethods
Jan 26, 20254 min read
Spring BootSeries

Java Basics #3 — Control Flow: If, Switch & Loops

Conditionals, the new switch expressions, for/while loops, and patterns that make your code cleaner.

javabasicscontrol-flow
Jan 24, 20254 min read
Spring BootSeries

Java Basics #2 — Variables, Data Types & Operators

Primitives vs objects, type casting, and the operators you'll use every day. Plus why int and Integer are different.

javabasicsvariables
Jan 22, 20255 min read
Spring BootSeries

Java Basics #1 — Introduction to Java & Setting Up

What Java actually is, how the JVM works, and getting your dev environment ready in under 10 minutes.

javabasicsjvm
Jan 20, 20253 min read
Spring Boot

JWT Auth in Spring Boot — The Right Way

Stop copying StackOverflow. Here's production-grade JWT with refresh tokens, Spring Security filters, and proper error handling.

spring-bootjavajwt
Jan 15, 20252 min read
↓ Code