H
HBlogBack to portfolio

Field notes

Things I'm writing about

Short write-ups on what I'm building, debugging, and learning. The full editor and posting flow lands in the next phase.

  • Jun 30, 2026·Hiral Patel

    How to Set Up Cloudflare R2 with Next.js for File Uploads

    Cloudflare R2 is an S3-compatible object storage service that works well for apps that need to upload and serve images, videos, PDFs, and other static files. In a Next.js project, you can use R2 for blog media, user avatars, project attachments, product images, exports, and any…