chore: local setup - swap R2 for Supabase Storage, install frontend deps

↗ view on GitHub · Punyaslok Dutta · 2026-05-09 · 39cdf1ca

- storage.ts: replaced @aws-sdk/client-s3 + R2 with Supabase Storage
  (upload, download, delete, signed URLs all via @supabase/supabase-js)
- .env.example: removed R2 vars, added STORAGE_BUCKET=mike
- frontend/package-lock.json: updated after npm install --legacy-peer-deps

Local setup recap:
- Backend :3001, frontend :3000
- Supabase project: gbdfkvaigunfvrgurkwk (ap-northeast-1 Tokyo)
- Storage bucket: mike (private, Supabase Storage)
- DB schema applied via 000_one_shot_schema.sql
- AI provider: Gemini
- Secrets in .env / .env.local - gitignored, not committed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Repository punyaslokdutta/HarveyOss
Author Punyaslok Dutta <punyaslokdutta@gmail.com>
Authored
Parents d9690965
Stats 3 files changed , +37 , -90
Part of Storage backend swap: Cloudflare R2 → Supabase Storage

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-39cdf1ca.md from inside the repo you want the change in.

⬇ Download capture-commit-39cdf1ca.md