How to add image uploads to a Next.js SaaS using Cloudinary -- a protected API route, a reusable upload hook, and storing only the public_id in the database so transformation URLs stay flexible.