So, Next.js API routes/ Route Handlers are super powerful, but securing them correctly can sometimes be quite a pain. In this video, I'll show you, step by step, how to take a super insecure route handler and turn it into a secure and scalable API route. We'll cover server-side validation, authorization, rate limiting, sensitive data handling, and, of course, proper error handling.
🔒 Get started with Kinde: https://dub.sh/xeU8r3v
📸 Screen Recording Software: https://dub.sh/eDa47SO
🚀 Checkout Cal for Free: https://dub.sh/FAuffAy
👨🏻💻 GitHub Repository: https://github.com/ski043/server-client-leak-yt
🌍 My Website: https://janmarshal.com/
✅ Follow me on X: https://x.com/janmarshaldev
📧 Business ONLY: jan@alenix.de
Timestamps:
00:00 Intro
00:40 Project Overview
03:34 Issue Nr. 1
07:35 Issue Nr. 2
14:00 Permissions
18:00 Issue Nr. 3
23:40 Issue Nr. 4
26:10 Issue Nr. 5