6 Commits

Author SHA1 Message Date
Chever John
b1c2c33aa2
refactor: replace Supabase SDK with self-hosted REST API client layer
WHY: migrating from Supabase BaaS to self-hosted iloom backend
(Go microservices) deployed on K3s. Supabase client and realtime
subscriptions no longer applicable.

HOW:
- add src/api/ layer (client.ts, auth.ts, purchaser.ts, textile.ts,
  washing.ts, websocket.ts) targeting iloom-gateway REST endpoints
- rewrite all hooks (usePlanData, useInventoryData, useDashboardData,
  useRealtime, etc.) to use new API client instead of Supabase queries
- rewrite all page/component data fetching and mutations accordingly
- delete src/supabase/client.ts, remove @supabase/supabase-js dep
- add Dockerfile (multi-stage node build + nginx) and nginx.conf
  with reverse proxy to iloom-gateway for /api/ and /ws/ routes
- adjust webpack.config.js for API_URL environment variable injection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-14 12:38:47 +08:00
github-actions[bot]
d06690963c sync: Add files via upload (A@f3f0916866583911d315136c8b16f45e6a96c236) 2026-06-04 15:56:19 +00:00
github-actions[bot]
e604317c7f sync: Add files via upload (A@90dbd4d185c93e599be85a4cb190f35d45c1495f) 2026-06-04 15:09:31 +00:00
github-actions[bot]
b6e2e526d9 sync: Add files via upload
重大版本更新 (A@029ab8fcd9c4f587ce7a2394252868172d8e5d79)
2026-06-04 13:57:36 +00:00
github-actions[bot]
37ecf1a056 sync: Add files via upload (A@f25beaaf2f1fcd0c8fca85fa622d846392968047) 2026-05-27 03:17:46 +00:00
github-actions[bot]
6517a3f4cd sync: update auto sync (A@67794d69b70f7d291333020c5ffd071a7836d177) 2026-05-26 05:15:10 +00:00