All Posts
The Blog
Deep-dives, real builds, and tutorials that actually work. 20 articles and counting.
20 posts
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.
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.
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.
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.
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.
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.
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.
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.
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 Boot #2 — Validation & Exception Handling
Bean Validation annotations, @ControllerAdvice for global exception handling, and returning clean consistent error responses.
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.
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.
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.
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.
OOP #1 — Classes, Objects & Constructors
How to model real-world things as Java classes. Encapsulation, constructors, getters/setters, and the builder pattern.
Java Basics #4 — Methods & Arrays
How to write clean reusable methods, understand pass-by-value, and work with single and multi-dimensional arrays.
Java Basics #3 — Control Flow: If, Switch & Loops
Conditionals, the new switch expressions, for/while loops, and patterns that make your code cleaner.
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.
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.
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.