View profile for Isnendyan Kresna Purnama

Software Engineer | Frontend Web Developer I QA Automation | Full stack engineer (React.js, Next.js & Playwright)

📸 When "Add Profile Picture" Becomes a 4-Bug Hunt Week 6: "JWT authentication complete!" ✅ Week 7: "Let's add profile picture upload!" Reality: 6 days, 21 commits, 4 debugging sessions 😅 The Challenge: ✅ Backend works (API returns 200 OK) ✅ Database saves correctly ✅ File uploads to disk ❌ Picture still won't show The Hunt: Bug #1: Path mismatch → Backend: "/uploads/profiles/user.jpg" → Frontend: "profiles/user.jpg" Bug #2: No fetch on load → Added getCurrentProfilePicture() API Bug #3: Type mismatch → profilePictureUrl vs pictureUrl Bug #4: React state not syncing → useState doesn't update with prop changes → Fixed with useEffect What Shipped: 🎯 Drag-and-drop upload 🎯 JWT-protected endpoints 🎯 Auto-delete old files 🎯 Avatar fallback (user initials) 🎯 Client + server validation The Lesson? Backend working ≠ Feature working Full-stack = debugging ALL layers 🔍 Tech: Spring Boot + React + PostgreSQL 21 commits, 1 feature, 4 bugs squashed ✅ From Hello World to real features 🚀 Repository: https://lnkd.in/gDE8vmWA #FullStackDevelopment #SpringBoot #ReactJS #Debugging #LearningInPublic

To view or add a comment, sign in

Explore content categories